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

1991/1030/port/qlock.c (diff list | history)

1991/1011/sys/src/9/port/qlock.c:33,391991/1030/sys/src/9/port/qlock.c:33,39 (short | long | prev | next)
1991/0428    
canqlock(QLock *q) 
{ 
1991/1002    
	lock(&q->use); 
	if(q->locked) { 
1991/1030    
	if(q->locked){ 
1991/1002    
		unlock(&q->use); 
		return 0; 
	} 


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