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

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

1990/1104/sys/src/9/gnot/stream.c:133,1381990/11062/sys/src/9/gnot/stream.c:133,142 (short | long | prev | next)
1990/03091    
	while(bcp->first == 0){ 
		unlock(bcp); 
1990/0312    
		qlock(bcp); 
1990/11062    
		if(waserror()){ 
			qunlock(bcp); 
			nexterror(); 
		} 
1990/0322    
		tsleep(&bcp->r, isblock, (void *)bcp, 250); 
1990/0312    
		qunlock(bcp); 
1990/03091    
		lock(bcp); 


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