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

1993/0830/port/taslock.c (diff list | history)

1993/0830/sys/src/9/port/taslock.c:8,131993/1204/sys/src/9/port/taslock.c:8,15 (short | long | prev | next)
1992/0222    
void 
lock(Lock *l) 
{ 
1993/1204    
	if(tas(&l->key) == 0) 
		return; 
1993/0830    
	for(;;){ 
		while(l->key) 
			; 


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