summaryrefslogtreecommitdiffstats
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-14 18:23:11 +0100
committerGitHub <noreply@github.com>2023-11-14 18:23:11 +0100
commit9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614 (patch)
tree79adeb345dc422ae213054bfc7bc0a91f1094c47 /src/core/core_timing.h
parentMerge pull request #12025 from liamwhite/kernel-shutdown-deadlock (diff)
parentcore_timing: lock event queue access (diff)
downloadyuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar.gz
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar.bz2
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar.lz
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar.xz
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.tar.zst
yuzu-9a5ef835cc8cf3d9fb8fa791d03a43ae4472d614.zip
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 26a8b93a7..21548f0a9 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -161,7 +161,7 @@ private:
std::shared_ptr<EventType> ev_lost;
Common::Event event{};
Common::Event pause_event{};
- std::mutex basic_lock;
+ mutable std::mutex basic_lock;
std::mutex advance_lock;
std::unique_ptr<std::jthread> timer_thread;
std::atomic<bool> paused{};