mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-28 17:28:26 +00:00
parent
2aab7e05ee
commit
868cffd793
|
@ -32,6 +32,10 @@ public:
|
|||
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.
|
||||
WaitingThread waiter{need_count, is_fifo};
|
||||
const auto it = AddWaiter(&waiter);
|
||||
|
|
Loading…
Reference in a new issue