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

1990/0312/gnot/clock.c (diff list | history)

1990/03091/sys/src/9/gnot/clock.c:98,1051990/0312/sys/src/9/gnot/clock.c:98,107 (short | long | prev | next)
1990/03091    
	SYNCREG[1] = 0x5F;	/* clear interrupt */ 
	m->ticks++; 
	p = m->proc; 
	if(p) 
1990/0312    
	if(p){ 
		p->pc = ur->pc; 
1990/03091    
		p->time[p->insyscall]++; 
1990/0312    
	} 
1990/03091    
	if(canlock(&m->alarmlock)){ 
		if(m->alarm){ 
			a = m->alarm; 


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