mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-24 04:01:50 +01:00
Allow load balancing when waiting on condvars
This commit is contained in:
parent
b6e2fb894c
commit
f7ab3abb86
@ -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
|
// 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.thread->UpdatePriorityInheritance();
|
||||||
|
|
||||||
state.scheduler->WaitSchedule(false);
|
state.scheduler->WaitSchedule();
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
@ -243,7 +243,7 @@ namespace skyline::kernel::type {
|
|||||||
|
|
||||||
return result::TimedOut;
|
return result::TimedOut;
|
||||||
} else {
|
} else {
|
||||||
state.scheduler->WaitSchedule(false);
|
state.scheduler->WaitSchedule();
|
||||||
}
|
}
|
||||||
|
|
||||||
KHandle value{};
|
KHandle value{};
|
||||||
|
Loading…
Reference in New Issue
Block a user