mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 22:18:21 +00:00
process removal: remove a few bugs and race conditions
This commit is contained in:
@@ -362,13 +362,6 @@ void sched_dequeue(){
|
||||
|
||||
timer_resume();
|
||||
|
||||
thread_t* curthread = arch_getcls()->thread;
|
||||
|
||||
// context and thread destruction will happen in the waitpid()
|
||||
// the pointer to this thread will reside in proc->threads
|
||||
|
||||
curthread->proc->threads = curthread;
|
||||
|
||||
// for safety
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user