We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d6a6d commit c168479Copy full SHA for c168479
1 file changed
src/player.h
@@ -42,6 +42,7 @@
42
#include <string>
43
#include <bitset>
44
#include <thread>
45
+#include <atomic>
46
47
#ifdef HAVE_TSID
48
# if HAVE_TSID > 1
@@ -216,7 +217,7 @@ class ConsolePlayer
216
217
struct m_timer_t
218
{ // secs
219
uint_least32_t start;
- uint_least32_t current;
220
+ std::atomic<uint_least32_t> current;
221
uint_least32_t stop;
222
uint_least32_t length;
223
bool valid;
0 commit comments