mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 22:28:03 -05:00
kernel: added WaitSynchronization method to Kernel::Object
This commit is contained in:
@ -55,6 +55,13 @@ public:
|
||||
*/
|
||||
virtual Result SyncRequest(bool* wait) = 0;
|
||||
|
||||
/**
|
||||
* Wait for kernel object to synchronize
|
||||
* @param wait Boolean wait set if current thread should wait as a result of sync operation
|
||||
* @return Result of operation, 0 on success, otherwise error code
|
||||
*/
|
||||
virtual Result WaitSynchronization(bool* wait) = 0;
|
||||
|
||||
};
|
||||
|
||||
class ObjectPool : NonCopyable {
|
||||
|
Reference in New Issue
Block a user