summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.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/thread.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/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 56c7755cf..6e8b53eb1 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -42,6 +42,17 @@ public:
42 * @return Result of operation, 0 on success, otherwise error code 42 * @return Result of operation, 0 on success, otherwise error code
43 */ 43 */
44 Result SyncRequest(bool* wait) { 44 Result SyncRequest(bool* wait) {
45 // TODO(bunnei): ImplementMe
46 return 0;
47 }
48
49 /**
50 * Wait for kernel object to synchronize
51 * @param wait Boolean wait set if current thread should wait as a result of sync operation
52 * @return Result of operation, 0 on success, otherwise error code
53 */
54 Result WaitSynchronization(bool* wait) {
55 // TODO(bunnei): ImplementMe
45 return 0; 56 return 0;
46 } 57 }
47 58