SVC: Correct ArbitrateUnlock

This commit is contained in:
Fernando Sahmkow 2020-02-25 17:37:12 -04:00
parent 3b5b950c89
commit 203e706302
3 changed files with 41 additions and 37 deletions

View file

@ -80,7 +80,7 @@ void Thread::CancelWakeupTimer() {
void Thread::ResumeFromWait() {
ASSERT_MSG(wait_objects.empty(), "Thread is waking up while waiting for objects");
SchedulerLock lock(kernel);
switch (status) {
case ThreadStatus::Paused:
case ThreadStatus::WaitSynch: