os: refactor multi wait apis to better match Nintendo's latest implementation

This commit is contained in:
Michael Scire committed 2022-04-12 16:47:36 -07:00
1 parent b45671fd35
commit 02b126c2be
23 files changed
+309 -243

No files matched your search

@@ -111,7 +111,7 @@ namespace ams::os::impl {
thread->state = ThreadType::State_Terminated;
GetReference(thread->cv_thread).Broadcast();
GetReference(thread->waitlist).SignalAllThreads();
GetReference(thread->waitlist).WakeupAllMultiWaitThreadsUnsafe();
}
void ThreadManager::CleanupThread() {