kernel: clean up waiting implementation
This commit is contained in:
parent
4548e74d3f
commit
f70a3ada00
2 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue