mutex: refactored the interface to code to return a Mutex* handle
This commit is contained in:
parent
978e1d4653
commit
eb537c560a
4 changed files with 16 additions and 5 deletions
|
@ -21,6 +21,6 @@ Result ReleaseMutex(Handle handle);
|
|||
* @param handle Reference to handle for the newly created mutex
|
||||
* @param initial_locked Specifies if the mutex should be locked initially
|
||||
*/
|
||||
Result CreateMutex(Handle& handle, bool initial_locked);
|
||||
Handle CreateMutex(bool initial_locked);
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue