mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 22:42:40 +02:00
os: broadcast, not signal, on release more than 1 sema
This commit is contained in:
parent
590cdaf022
commit
6d0e0bc135
@ -131,7 +131,7 @@ namespace ams::os {
|
||||
|
||||
sema->count += count;
|
||||
|
||||
GetReference(sema->cv_not_zero).Signal();
|
||||
GetReference(sema->cv_not_zero).Broadcast();
|
||||
GetReference(sema->waitlist).SignalAllThreads();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user