diff options
| author | Liam <byteslice@airmail.cc> | 2023-11-13 19:01:05 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-11-14 11:51:04 -0500 |
| commit | e65d90b33187b0642d73d6b59a667eaa1e157dbe (patch) | |
| tree | 860ee81c9d35939ecc2178fc5a1497ed5dadec1e /src/core/core_timing.h | |
| parent | e3a8c777be640f48fa6748610ca1b5484657ba81 (diff) | |
core_timing: lock event queue access
Diffstat (limited to 'src/core/core_timing.h')
| -rw-r--r-- | src/core/core_timing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index 26a8b93a76..21548f0a9b 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{}; |
