This commit is contained in:
Nekotekina 2015-03-11 14:27:29 +03:00
parent 6e3e2cf0f3
commit 629206c0dc

View File

@ -225,7 +225,7 @@ s32 _sys_lwcond_queue_wait(u32 lwcond_id, u32 lwmutex_id, u64 timeout)
cond->cv.wait_for(lv2_lock, std::chrono::milliseconds(1));
}
if (cond->signaled1)
if (cond->signaled1 && mutex->signaled)
{
mutex->signaled--;
cond->signaled1--;