mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
sus_lwcond_signal_all: use protocol specified in lwmutex
Trying to fix a nearly impossible corner case.
This commit is contained in:
parent
c15b5f1eca
commit
5fda9a4efb
@ -231,7 +231,7 @@ error_code _sys_lwcond_signal_all(ppu_thread& ppu, u32 lwcond_id, u32 lwmutex_id
|
||||
|
||||
u32 result = 0;
|
||||
|
||||
for (const auto cpu : ::as_rvalue(std::move(cond.sq)))
|
||||
while (const auto cpu = cond.schedule<ppu_thread>(cond.sq, cond.protocol))
|
||||
{
|
||||
cond.waiters--;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user