plan 9 kernel history: overview | file list | diff list

1991/0212/port/pgrp.c (diff list | history)

1991/0125/sys/src/9/port/pgrp.c:115,1211991/0212/sys/src/9/port/pgrp.c:115,121 (short | long | prev | next)
1990/0227    
	Envp *ep; 
 
	if(decref(p) == 0){ 
1990/1110    
		lock(&p->debug); 
1991/0212    
		qlock(&p->debug); 
1990/1110    
		p->pgrpid = -1; 
1990/0227    
		m = p->mtab; 
		for(i=0; i<p->nmtab; i++,m++) 
1991/0125/sys/src/9/port/pgrp.c:130,1361991/0212/sys/src/9/port/pgrp.c:130,136
1990/0227    
		lock(&pgrpalloc); 
		p->next = pgrpalloc.free; 
		pgrpalloc.free = p; 
1990/1110    
		unlock(&p->debug); 
1991/0212    
		qunlock(&p->debug); 
1990/0227    
		unlock(&pgrpalloc); 
	} 
} 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)