os: broadcast, not signal, on release more than 1 sema

This commit is contained in:
Michael Scire 2022-04-07 12:17:13 -07:00
parent 62eb4d6989
commit 80154b0a54

View file

@ -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();
}
}