kernel/thread: set status of thread to run in start.

This commit is contained in:
RyleFury
2025-04-03 20:21:15 +02:00
committed by Zangetsu38
parent 90ee2e2f21
commit bc22a58347
+1
View File
@@ -156,6 +156,7 @@ int ThreadState::start(SceSize arglen, const Ptr<void> argp, bool run_entry_call
kernel.debugger.wait_for_debugger = false;
} else {
to_do = ThreadToDo::run;
status = ThreadStatus::run;
}
something_to_do.notify_one();