diff options
| author | bunnei <ericbunnie@gmail.com> | 2014-05-22 22:57:45 -0400 |
|---|---|---|
| committer | bunnei <ericbunnie@gmail.com> | 2014-05-22 22:57:45 -0400 |
| commit | 32c314c99290a52f1f870ecf8c677e3792ed09c4 (patch) | |
| tree | 1cea62bc320d51ebb217e7c361ae10b65b71dd45 /src/core/hle/kernel/mutex.h | |
| parent | 9a2e7381e66293929d50b08cc55379c800e74d43 (diff) | |
| parent | 51f636b3d44e0c963d73cbc4e1a555633980b3fb (diff) | |
Merge branch 'threading'
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
| -rw-r--r-- | src/core/hle/kernel/mutex.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h new file mode 100644 index 000000000..871e2e562 --- /dev/null +++ b/src/core/hle/kernel/mutex.h @@ -0,0 +1,26 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 +// Refer to the license.txt file included. + +#pragma once + +#include "common/common_types.h" + +#include "core/hle/kernel/kernel.h" + +namespace Kernel { + +/** + * Releases a mutex + * @param handle Handle to mutex to release + */ +Result ReleaseMutex(Handle handle); + +/** + * Creates a mutex + * @param handle Reference to handle for the newly created mutex + * @param initial_locked Specifies if the mutex should be locked initially + */ +Handle CreateMutex(bool initial_locked); + +} // namespace |
