Merge pull request #8502 from liamwhite/end-wait

kernel: clean up waiting implementation
This commit is contained in:
liamwhite 2022-07-07 17:31:49 -04:00 committed by GitHub
commit 79d631b630
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);