svc: added optional name field to Event and Mutex (used for debugging)

This commit is contained in:
bunnei 2014-06-02 20:38:34 -04:00
parent 8c0f02a70c
commit b78aff8585
6 changed files with 25 additions and 12 deletions

View file

@ -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