Plan 9 from Bell Labs 2002-03-21
1 files changed, 2 insertions(+), 1 deletions(-) M port/edf.c
M port/edf.c => port/edf.c +2 -1
@@ 258,7 258,8 @@ edfdeadline(Proc *p, SEvent why) SET(nt); if (p){ nt = p->task; - assert(nt); + if (nt == nil || nt->state != EdfRunning) + return; } t = edfpop();