mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-14 11:07:52 +01:00
os: broadcast, not signal, on release more than 1 sema
This commit is contained in:
parent
62eb4d6989
commit
80154b0a54
@ -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