diff --git a/src/sys/kernel/syscall.c b/src/sys/kernel/syscall.c index a93b97c..b8d3eac 100644 --- a/src/sys/kernel/syscall.c +++ b/src/sys/kernel/syscall.c @@ -129,8 +129,8 @@ } void sysCheckPid(int pid,int *ptr) { - kTask_t *tmpTask = scedFindTask(pid); - if (tmpTask != 0x0) && ptr != 0x0) + kTask_t *tmpTask = schedFindTask(pid); + if ((tmpTask != 0x0) && (ptr != 0x0)) *ptr = tmpTask->state; return; } @@ -211,6 +211,9 @@ /*** $Log$ + Revision 1.18 2004/07/21 20:22:55 reddawg + fixed check pid status + Revision 1.17 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