Do not add brand new process to ready to run list

This commit is contained in:
pjht 2024-11-10 10:21:23 -06:00
parent c4d9bb128a
commit 0fcdbbd363
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -199,7 +199,6 @@ impl Tasking {
} else {
println!("[TASKING] No process manager when creating PID {pid}");
}
self.ready_to_run.lock().push_back(pid);
Ok(pid)
}