summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-27 04:17:49 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-27 04:17:49 +0200
commita432dc8f39a866b7b523235d6d94531f93bb4aa1 (patch)
treec716af0c8dba3581d164276c4f607ed7562637d8 /src/core/hle/kernel/kernel.h
parentkernel: updated SyncRequest to take boolean thread wait result as a parameter (diff)
downloadyuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.gz
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.bz2
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.lz
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.xz
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.zst
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4acc9f220..620cd2d73 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -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 {