Browse Source

fx

static-vector-thread-list
lizzie 1 month ago
committed by crueter
parent
commit
ac5671b154
  1. 8
      src/core/hle/kernel/global_scheduler_context.cpp

8
src/core/hle/kernel/global_scheduler_context.cpp

@ -68,9 +68,11 @@ void GlobalSchedulerContext::UnregisterDummyThreadForWakeup(KThread* thread) noe
void GlobalSchedulerContext::WakeupWaitingDummyThreads() noexcept {
ASSERT(this->IsLocked());
for (auto* thread : m_woken_dummy_threads)
thread->DummyThreadEndWait();
m_woken_dummy_threads.clear();
if (m_woken_dummy_threads.size() > 0) {
for (auto* thread : m_woken_dummy_threads)
thread->DummyThreadEndWait();
m_woken_dummy_threads.clear();
}
}
} // namespace Kernel
Loading…
Cancel
Save