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

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

1990/1128/sys/src/9/port/devproc.c:374,3901991/0212/sys/src/9/port/devproc.c:374,390 (short | long | prev | next)
1990/1110    
	 */ 
	if(QID(c->qid) == Qnotepg){ 
1990/11211    
		pg = pgrptab(c->pgrpid.path-1); 
1990/1110    
		lock(&pg->debug); 
1991/0212    
		qlock(&pg->debug); 
1990/1110    
		if(waserror()){ 
			unlock(&pg->debug); 
1991/0212    
			qunlock(&pg->debug); 
1990/1110    
			nexterror(); 
		} 
1990/11211    
		if(pg->pgrpid != c->pgrpid.vers){ 
1990/1110    
			unlock(&pg->debug); 
1991/0212    
			qunlock(&pg->debug); 
1990/1110    
  	  		goto Died; 
		} 
		pgrpnote(pg, va, n, NUser); 
		unlock(&pg->debug); 
1991/0212    
		qunlock(&pg->debug); 
1990/1110    
		return n; 
	} 
 


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