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

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

1991/0719/sys/src/9/pc/clock.c:61,661991/0730/sys/src/9/pc/clock.c:61,67 (short | long | prev | next)
1991/0705    
	m->ticks++; 
1991/0711    
 
	checkalarms(); 
1991/0730    
	mouseclock(); 
1991/0711    
 
1991/0706    
	p = m->proc; 
	if(p){ 
1991/0719/sys/src/9/pc/clock.c:68,711991/0730/sys/src/9/pc/clock.c:69,82
1991/0706    
		if (p->state==Running) 
			p->time[p->insyscall]++; 
	} 
1991/0730    
/* 
	if(u && (ur->flags&IFLAG) && p && p->state==Running){ 
		if(anyready()){ 
			if(p->hasspin) 
				p->hasspin = 0; 
			else 
				sched(); 
		} 
	} 
/**/ 
1991/0705    
} 


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