diff --git a/src/sys/kernel/sched.c b/src/sys/kernel/sched.c index 3d89ffd..0ed88a6 100644 --- a/src/sys/kernel/sched.c +++ b/src/sys/kernel/sched.c @@ -159,10 +159,12 @@ _current = tmpTask; break; } +/* else if (tmpTask->state == DEAD) { schedDeleteTask(tmpTask->id); goto schedStart; } +*/ } /* Finished all the tasks, restarting the list */ @@ -328,6 +330,9 @@ /*** $Log$ + Revision 1.15 2004/07/19 02:32:21 reddawg + sched: we now set task status to dead which then makes the scheduler do some clean it could be some minor overhead but i feel this is our most efficient approach right now to prevent corruption of the queues + Revision 1.14 2004/07/19 01:56:31 reddawg schedDeleteTask: I am pondering the possability that this could not finish in a quantum....