mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-22 14:31:39 +00:00
parent
c4ff866e34
commit
a5c15e643e
|
@ -32,6 +32,10 @@ public:
|
||||||
return ORBIS_KERNEL_ERROR_EBUSY;
|
return ORBIS_KERNEL_ERROR_EBUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (timeout && *timeout == 0) {
|
||||||
|
return SCE_KERNEL_ERROR_ETIMEDOUT;
|
||||||
|
}
|
||||||
|
|
||||||
// Create waiting thread object and add it into the list of waiters.
|
// Create waiting thread object and add it into the list of waiters.
|
||||||
WaitingThread waiter{need_count, is_fifo};
|
WaitingThread waiter{need_count, is_fifo};
|
||||||
const auto it = AddWaiter(&waiter);
|
const auto it = AddWaiter(&waiter);
|
||||||
|
|
Loading…
Reference in a new issue