mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 10:47:59 -05:00
Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs.
This commit is contained in:
@ -35,9 +35,9 @@ Thread* WaitObject::ReleaseNextThread() {
|
||||
return nullptr;
|
||||
|
||||
auto next_thread = waiting_threads.front();
|
||||
waiting_threads.erase(waiting_threads.begin());
|
||||
|
||||
next_thread->ReleaseWaitObject(this);
|
||||
waiting_threads.erase(waiting_threads.begin());
|
||||
|
||||
return next_thread.get();
|
||||
}
|
||||
|
Reference in New Issue
Block a user