summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-26 22:17:49 -0400
committerGravatar bunnei2014-05-26 22:17:49 -0400
commita432dc8f39a866b7b523235d6d94531f93bb4aa1 (patch)
treec716af0c8dba3581d164276c4f607ed7562637d8 /src/core/hle/kernel/mutex.cpp
parentkernel: updated SyncRequest to take boolean thread wait result as a parameter (diff)
downloadyuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.gz
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.tar.xz
yuzu-a432dc8f39a866b7b523235d6d94531f93bb4aa1.zip
kernel: added WaitSynchronization method to Kernel::Object
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 5465b7a3c..17fd40acd 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -30,6 +30,17 @@ public:
30 * @return Result of operation, 0 on success, otherwise error code 30 * @return Result of operation, 0 on success, otherwise error code
31 */ 31 */
32 Result SyncRequest(bool* wait) { 32 Result SyncRequest(bool* wait) {
33 // TODO(bunnei): ImplementMe
34 return 0;
35 }
36
37 /**
38 * Wait for kernel object to synchronize
39 * @param wait Boolean wait set if current thread should wait as a result of sync operation
40 * @return Result of operation, 0 on success, otherwise error code
41 */
42 Result WaitSynchronization(bool* wait) {
43 // TODO(bunnei): ImplementMe
33 return 0; 44 return 0;
34 } 45 }
35}; 46};