Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-06-02 14:15:55 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-06-02 14:15:55 +0300
commit3a561b4eed1ea7cae08ea454cf1cb7f28c529a84 (patch)
treef8bd951e992ea5744f976f4bd9f189475eb0a281 /server/TracyView.hpp
parent0059cb3ab058be4a472b2cbde40163b5620c6f49 (diff)
Save thread state should be atomic.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index bd605393..f0dc03e1 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -323,7 +323,7 @@ private:
NeedsJoin
};
- SaveThreadState m_saveThreadState = SaveThreadState::Inert;
+ std::atomic<SaveThreadState> m_saveThreadState { SaveThreadState::Inert };
std::thread m_saveThread;
struct FindZone {