projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91152d2
)
Make _one_shot and _playing atomic.
author
Carl Hetherington
<cth@carlh.net>
Sat, 27 Jun 2020 22:59:21 +0000
(
00:59
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 27 Jun 2020 23:00:41 +0000
(
01:00
+0200)
src/wx/gl_video_view.h
patch
|
blob
|
history
diff --git
a/src/wx/gl_video_view.h
b/src/wx/gl_video_view.h
index f129b6ed5a4b51b503a81e7532fdc3a2c05d8212..d9e03823b5a506b99374334153a81241434fb25c 100644
(file)
--- a/
src/wx/gl_video_view.h
+++ b/
src/wx/gl_video_view.h
@@
-72,8
+72,8
@@
private:
boost::mutex _playing_mutex;
boost::condition _thread_work_condition;
boost::mutex _playing_mutex;
boost::condition _thread_work_condition;
- boo
l
_playing;
- boo
l
_one_shot;
+ boo
st::atomic<bool>
_playing;
+ boo
st::atomic<bool>
_one_shot;
boost::shared_ptr<wxTimer> _timer;
};
boost::shared_ptr<wxTimer> _timer;
};