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

1991/0802/pc/clock.c (diff list | history)

1991/0801/sys/src/9/pc/clock.c:70,761991/0802/sys/src/9/pc/clock.c:70,76 (short | long | prev | next)
1991/0706    
			p->time[p->insyscall]++; 
	} 
1991/0801    
 
/*	if(u && p && p->state==Running){ 
1991/0802    
	if(u && p && p->state==Running){ 
1991/0730    
		if(anyready()){ 
			if(p->hasspin) 
				p->hasspin = 0; 
1991/0801/sys/src/9/pc/clock.c:77,811991/0802/sys/src/9/pc/clock.c:77,85
1991/0730    
			else 
				sched(); 
		} 
1991/0801    
	}/**/ 
1991/0802    
		if((ur->cs&0xffff) == UESEL){ /* if was in user mode */ 
			if(u->nnote) 
				notify(ur); 
		} 
	} 
1991/0705    
} 


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