mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04: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…
Add table
Add a link
Reference in a new issue