mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
lv2: Wait for rescheduling before confirming ETIMEOUT
This commit is contained in:
parent
35a3bed91a
commit
a921fe3351
7 changed files with 24 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ error_code sys_event_queue_receive(ppu_thread& ppu, u32 equeue_id, vm::ptr<sys_e
|
|||
{
|
||||
if (lv2_obj::wait_timeout(timeout, &ppu))
|
||||
{
|
||||
// Wait for rescheduling
|
||||
ppu.check_state();
|
||||
|
||||
std::lock_guard lock(queue->mutex);
|
||||
|
||||
if (!queue->unqueue(queue->sq, &ppu))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue