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

1990/11062/gnot/stream.c (diff list | history)

1990/11062/sys/src/9/gnot/stream.c:139,1441990/1113/sys/src/9/gnot/stream.c:139,145 (short | long | prev | next)
1990/11062    
		} 
1990/0322    
		tsleep(&bcp->r, isblock, (void *)bcp, 250); 
1990/0312    
		qunlock(bcp); 
1990/1113    
		poperror(); 
1990/03091    
		lock(bcp); 
	} 
	bp = bcp->first; 
1990/11062/sys/src/9/gnot/stream.c:1061,10681990/1113/sys/src/9/gnot/stream.c:1062,1074
1990/03091    
flowctl(Queue *q) 
{ 
1990/1018    
	qlock(&q->rlock); 
1990/1113    
	if(waserror()){ 
		qunlock(&q->rlock); 
		nexterror(); 
	} 
1990/0403    
	sleep(&q->r, notfull, q->next); 
1990/1018    
	qunlock(&q->rlock); 
1990/1113    
	poperror(); 
1990/03091    
} 
 
/* 


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