Allow load balancing when waiting on condvars

This commit is contained in:
Billy Laws 2022-11-06 20:42:03 +00:00
parent b6e2fb894c
commit f7ab3abb86

View File

@ -148,7 +148,7 @@ namespace skyline::kernel::type {
// If we were the highest priority thread then we need to inherit priorities for all threads we're waiting on recursively
state.thread->UpdatePriorityInheritance();
state.scheduler->WaitSchedule(false);
state.scheduler->WaitSchedule();
return {};
}
@ -243,7 +243,7 @@ namespace skyline::kernel::type {
return result::TimedOut;
} else {
state.scheduler->WaitSchedule(false);
state.scheduler->WaitSchedule();
}
KHandle value{};