| plan 9 kernel history: overview | file list | diff list |
1990/1012/gnot/clock.c (diff list | history)
| 1990/1012/sys/src/9/gnot/clock.c:106,119 – 1990/1106/sys/src/9/gnot/clock.c:106,120 (short | long | prev | next) | ||
| 1990/1004 | p->time[p->insyscall]++; | |
| 1990/0312 | } | |
| 1990/03091 | if(canlock(&m->alarmlock)){ | |
| 1990/0728 |
| |
| 1990/1106 | a = m->alarm; if(a){ for(n=0; a && a->dt<=0 && n<NA; n++){ | |
| 1990/0728 | alist[n] = a; | |
| 1990/03091 | delete(&m->alarm, 0, a); a = m->alarm; } | |
| 1990/1106 | if(a) a->dt--; | |
| 1990/0728 | unlock(&m->alarmlock); /* execute alarm functions outside the lock */ | |