core_timing: lock event queue access
This commit is contained in:
parent
247d66a680
commit
ec6b67d862
2 changed files with 3 additions and 1 deletions
|
@ -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{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue