aboutsummaryrefslogtreecommitdiff
path: root/src/bench/Examples.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2016-11-27 15:14:36 -0800
committerMatt Corallo <[email protected]>2016-11-27 15:36:44 -0800
commit8b22efb6f7c406951f33a04e84377fd16f02121c (patch)
treece0d5e1558d7343cc48df350f463ac6dbb02284e /src/bench/Examples.cpp
parentFix race when accessing std::locale::classic() (diff)
downloaddiscoin-8b22efb6f7c406951f33a04e84377fd16f02121c.tar.xz
discoin-8b22efb6f7c406951f33a04e84377fd16f02121c.zip
Make fStartedNewLine an std::atomic_bool
While this doesnt really fix the race of adding timestamps mid-logical-line, it avoids the undefined behavior of using a bool in multiple threads.
Diffstat (limited to 'src/bench/Examples.cpp')
0 files changed, 0 insertions, 0 deletions