SVC: Correct ArbitrateUnlock

This commit is contained in:
Fernando Sahmkow 2020-02-25 17:37:12 -04:00
parent 8c9d258e66
commit 5c70bfcef7
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: