diff options
| author | James Rowe <jroweboy@gmail.com> | 2017-08-23 18:17:44 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-23 18:17:44 -0600 |
| commit | 35e185309b7d5a09f4149d9af7c8322d342157ca (patch) | |
| tree | b4b16a86d9959e14c01e43f68400342d7224c5a8 /src/core/hle/lock.cpp | |
| parent | add21dee2f0a1b56adde8e8ca7b9d11593eeff4f (diff) | |
| parent | 36220f3873ec17733cc3ebfcd46495ee74881879 (diff) | |
Merge pull request #2839 from Subv/global_kernel_lock
Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
Diffstat (limited to 'src/core/hle/lock.cpp')
| -rw-r--r-- | src/core/hle/lock.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/lock.cpp b/src/core/hle/lock.cpp new file mode 100644 index 0000000000..082f689c86 --- /dev/null +++ b/src/core/hle/lock.cpp @@ -0,0 +1,11 @@ +// Copyright 2017 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <core/hle/lock.h> + +namespace HLE { +std::mutex g_hle_lock; +} |
