| plan 9 kernel history: overview | file list | diff list |
2002/0411/port/edf.c (diff list | history)
| 2002/0410/sys/src/9/port/edf.c:104,113 – 2002/0411/sys/src/9/port/edf.c:104,110 (short | long | prev | next) | ||
| 2002/0315 | int | |
| 2002/0410 | edfanyready(void) | |
| 2002/0315 | { | |
| 2002/0411 | return edfstack[m->machno].head || qreleased.head; | |
| 2002/0315 | } static void | |
| 2002/0410/sys/src/9/port/edf.c:686,691 – 2002/0411/sys/src/9/port/edf.c:683,693 | ||
| 2002/0315 | static ulong nilcount; | |
| 2002/0410 | int i; | |
| 2002/0315 | ||
| 2002/0411 | if (edfstack[m->machno].head == nil && qreleased.head== nil){ // quick way out nilcount++; return nil; } | |
| 2002/0315 | /* Figure out if the current proc should be preempted*/ ilock(&edflock); now = fastticks(nil); | |