aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-26 22:12:46 -0400
committerbunnei <ericbunnie@gmail.com>2014-05-26 22:12:46 -0400
commit58a3adcdd2eed9d31cd441186af872a0a8924e73 (patch)
tree65dc8f4a1c26151ce027558ecdf886cb0beeb67b /src/core/hle/kernel/mutex.cpp
parent6e51c56fe41c3ff38db3a13e8773a9e9b2103377 (diff)
kernel: updated SyncRequest to take boolean thread wait result as a parameter
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index fa924404d..5465b7a3c 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -24,8 +24,12 @@ public:
Handle lock_thread; ///< Handle to thread that currently has mutex
std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex
- /// Synchronize kernel object
- Result SyncRequest() {
+ /**
+ * Synchronize kernel object
+ * @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
+ */
+ Result SyncRequest(bool* wait) {
return 0;
}
};