kernel: clean up waiting implementation

This commit is contained in:
Liam 2022-06-25 13:36:14 -04:00
parent 4548e74d3f
commit f70a3ada00
2 changed files with 5 additions and 4 deletions

View file

@ -161,7 +161,7 @@ bool KProcess::ReleaseUserException(KThread* thread) {
std::addressof(num_waiters),
reinterpret_cast<uintptr_t>(std::addressof(exception_thread)));
next != nullptr) {
next->SetState(ThreadState::Runnable);
next->EndWait(ResultSuccess);
}
KScheduler::SetSchedulerUpdateNeeded(kernel);