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

1998/0603/port/taslock.c (diff list | history)

1998/0522/sys/src/9/port/taslock.c:111,1161998/0603/sys/src/9/port/taslock.c:111,119 (short | long | prev | next)
Check for unlocked lock in iunlock.
rsc Fri Mar 4 12:44:25 2005
1994/0322    
{ 
	ulong sr; 
 
1998/0603    
	if(l->key == 0) 
		print("iunlock: not locked: pc %uX\n", getcallerpc(l)); 
 
1994/0322    
	sr = l->sr; 
1995/1014    
	l->pc = 0; 
1997/0327    
	l->key = 0; 


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