Exit was not unmarking the task as scheduled
This commit is contained in:
parent
dbcb761147
commit
24e34f0011
@ -349,6 +349,7 @@ void tasking_exit(uint8_t code) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
unmark_proc_scheduled(currentThread->process->pid);
|
||||||
for (Thread* thread=currentThread->process->firstThread;thread!=NULL;thread=thread->nextThreadInProcess) {
|
for (Thread* thread=currentThread->process->firstThread;thread!=NULL;thread=thread->nextThreadInProcess) {
|
||||||
thread->state=THREAD_EXITED;
|
thread->state=THREAD_EXITED;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user