diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-21 23:43:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 21:56:47 +0100 |
| commit | f77529bdfa01ae13f889442900988fc401b63c62 (patch) | |
| tree | facabf65f292fdfcf5fbffb6964d3d84f11120af /src/wx/gl_video_view.h | |
| parent | b3b371294ed5e6cc18ef64ba1b06ca76726b903a (diff) | |
Various cleanups and thread-safety.
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 4f509049b..827b12861 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -57,6 +57,10 @@ private: void create (); void check_for_butler_errors (); + /* Mutex for use of _canvas; it's only contended when our ::thread + is started up so this may be overkill. + */ + boost::mutex _canvas_mutex; wxGLCanvas* _canvas; wxGLContext* _context; |
