diff options
| author | bunnei <bunneidev@gmail.com> | 2021-12-20 14:24:50 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-20 14:24:50 -0800 |
| commit | ee6d40d414199f1b957499b4cc07d63e5c0b7ec5 (patch) | |
| tree | c1c31b6a204407dd13de214c8781d9fde0930d1b /src/core/hle/lock.h | |
| parent | eb4ea7e5c7964c690066af450ba9c14147d4f0ae (diff) | |
| parent | c73841500a7bf98f9f4006d25507b7b596257cbd (diff) | |
Merge pull request #7597 from bunnei/remove-global-lock
core: hle: Remove global HLE lock.
Diffstat (limited to 'src/core/hle/lock.h')
| -rw-r--r-- | src/core/hle/lock.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/hle/lock.h b/src/core/hle/lock.h deleted file mode 100644 index 5c99fe996..000000000 --- a/src/core/hle/lock.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2017 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include <mutex> - -namespace HLE { -/* - * Synchronizes access to the internal HLE kernel structures, it is acquired when a guest - * application thread performs a syscall. It should be acquired by any host threads that read or - * modify the HLE kernel state. Note: Any operation that directly or indirectly reads from or writes - * to the emulated memory is not protected by this mutex, and should be avoided in any threads other - * than the CPU thread. - */ -extern std::recursive_mutex g_hle_lock; -} // namespace HLE |
