sys_cond_signal_all: Use SYS_SYNC_PRIORITY protocol to signal threads

This commit is contained in:
Eladash 2020-05-02 11:01:19 +03:00 committed by Ivan
parent 72bef8dd7f
commit b84b8f4db4
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ error_code sys_cond_signal_all(ppu_thread& ppu, u32 cond_id)
cpu_thread* result = nullptr;
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))
{