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

1995/0104/port/qlock.c (diff list | history)

1994/0331/sys/src/9/port/qlock.c:10,151995/0104/sys/src/9/port/qlock.c:10,17 (short | long | prev | next)
1991/0428    
{ 
1991/1002    
	Proc *p, *mp; 
1991/0428    
 
1995/0104    
	if((getstatus()&IE)==0) 
		print("qlock hi %lux\n", getcallerpc(q)); 
1991/1002    
	lock(&q->use); 
	if(!q->locked) { 
		q->locked = 1; 
1994/0331/sys/src/9/port/qlock.c:48,531995/0104/sys/src/9/port/qlock.c:50,57
1991/0428    
{ 
	Proc *p; 
 
1995/0104    
	if((getstatus()&IE)==0) 
		print("qunlock hi %lux\n", getcallerpc(q)); 
1991/1002    
	lock(&q->use); 
	p = q->head; 
	if(p) { 


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