kernel: added WaitSynchronization method to Kernel::Object

This commit is contained in:
bunnei 2014-05-26 22:17:49 -04:00
parent 58a3adcdd2
commit a432dc8f39
4 changed files with 39 additions and 0 deletions

View file

@ -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 {