summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-02 20:38:34 -0400
committerGravatar bunnei2014-06-02 20:38:34 -0400
commitb78aff85857a3a356fdf11e1dbc4e5f52490676e (patch)
tree0cb0b9855ae2eed179fb1401e3edbcbd7d59f6f3 /src/core/hle/kernel/mutex.h
parentkernel: moved position of * for GetTypeName and GetName (diff)
downloadyuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.tar.gz
yuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.tar.xz
yuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.zip
svc: added optional name field to Event and Mutex (used for debugging)
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
-rw-r--r--src/core/hle/kernel/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h
index 4cd266725..fde5549fa 100644
--- a/src/core/hle/kernel/mutex.h
+++ b/src/core/hle/kernel/mutex.h
@@ -20,8 +20,9 @@ Result ReleaseMutex(Handle handle);
20/** 20/**
21 * Creates a mutex 21 * Creates a mutex
22 * @param initial_locked Specifies if the mutex should be locked initially 22 * @param initial_locked Specifies if the mutex should be locked initially
23 * @param name Optional name of mutex
23 * @return Handle to newly created object 24 * @return Handle to newly created object
24 */ 25 */
25Handle CreateMutex(bool initial_locked); 26Handle CreateMutex(bool initial_locked, const std::string name="Unknown");
26 27
27} // namespace 28} // namespace