mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
sys_cond_signal_all: Use SYS_SYNC_PRIORITY protocol to signal threads
This commit is contained in:
parent
72bef8dd7f
commit
b84b8f4db4
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ error_code sys_cond_signal_all(ppu_thread& ppu, u32 cond_id)
|
||||||
cpu_thread* result = nullptr;
|
cpu_thread* result = nullptr;
|
||||||
cond.waiters -= ::size32(cond.sq);
|
cond.waiters -= ::size32(cond.sq);
|
||||||
|
|
||||||
while (const auto cpu = cond.schedule<ppu_thread>(cond.sq, cond.mutex->protocol))
|
while (const auto cpu = cond.schedule<ppu_thread>(cond.sq, SYS_SYNC_PRIORITY))
|
||||||
{
|
{
|
||||||
if (cond.mutex->try_own(*cpu, cpu->id))
|
if (cond.mutex->try_own(*cpu, cpu->id))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue