diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-02 20:38:34 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-02 20:38:34 -0400 |
commit | b78aff85857a3a356fdf11e1dbc4e5f52490676e (patch) | |
tree | 0cb0b9855ae2eed179fb1401e3edbcbd7d59f6f3 /src/core/hle/kernel/mutex.h | |
parent | 8c0f02a70cfb3eb9a7a334f3f93345bc64e383b6 (diff) |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h index 4cd26672..fde5549f 100644 --- a/src/core/hle/kernel/mutex.h +++ b/src/core/hle/kernel/mutex.h @@ -20,8 +20,9 @@ Result ReleaseMutex(Handle handle); /** * Creates a mutex * @param initial_locked Specifies if the mutex should be locked initially + * @param name Optional name of mutex * @return Handle to newly created object */ -Handle CreateMutex(bool initial_locked); +Handle CreateMutex(bool initial_locked, const std::string name="Unknown"); } // namespace |