mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
os: broadcast, not signal, on release more than 1 sema
This commit is contained in:
parent
62eb4d6989
commit
80154b0a54
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ namespace ams::os {
|
||||||
|
|
||||||
sema->count += count;
|
sema->count += count;
|
||||||
|
|
||||||
GetReference(sema->cv_not_zero).Signal();
|
GetReference(sema->cv_not_zero).Broadcast();
|
||||||
GetReference(sema->waitlist).SignalAllThreads();
|
GetReference(sema->waitlist).SignalAllThreads();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue