mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled.
This commit is contained in:
parent
db3c11506b
commit
668af26696
3 changed files with 5 additions and 2 deletions
|
@ -741,6 +741,7 @@ void KScheduler::ScheduleImpl() {
|
|||
|
||||
// We never want to schedule a dummy thread, as these are only used by host threads for locking.
|
||||
if (next_thread->GetThreadType() == ThreadType::Dummy) {
|
||||
ASSERT_MSG(false, "Dummy threads should never be scheduled!");
|
||||
next_thread = idle_thread;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue