Fix sys_cond_wait

Schedule PPU thread before relocking.
Don't lock mutex in notify functions.
This commit is contained in:
Nekotekina 2019-08-27 15:01:08 +03:00
parent fd839243ec
commit ec8c5453bc
2 changed files with 38 additions and 33 deletions

View file

@ -1029,7 +1029,7 @@ void lv2_obj::sleep_unlocked(cpu_thread& thread, u64 timeout)
if (!ok)
{
LOG_TRACE(PPU, "sleep() failed (signaled)");
LOG_FATAL(PPU, "sleep() failed (signaled) (%s)", ppu->current_function);
return;
}