mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 00:54:23 -04:00
os: refactor multi wait apis to better match Nintendo's latest implementation
This commit is contained in:
parent
b45671fd35
commit
02b126c2be
23 changed files with 309 additions and 243 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue