diff options
| author | 2014-06-02 20:38:34 -0400 | |
|---|---|---|
| committer | 2014-06-02 20:38:34 -0400 | |
| commit | b78aff85857a3a356fdf11e1dbc4e5f52490676e (patch) | |
| tree | 0cb0b9855ae2eed179fb1401e3edbcbd7d59f6f3 /src/core/hle/kernel/mutex.h | |
| parent | kernel: moved position of * for GetTypeName and GetName (diff) | |
| download | yuzu-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.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 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 | */ |
| 25 | Handle CreateMutex(bool initial_locked); | 26 | Handle CreateMutex(bool initial_locked, const std::string name="Unknown"); |
| 26 | 27 | ||
| 27 | } // namespace | 28 | } // namespace |