diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-02 14:28:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-02 14:28:26 +0200 |
commit | 93aa8d3734d5165d87034cfae222e492f4f2e7ff (patch) | |
tree | 0c38e7be077171f5beb3e10de88a35c8b5e45799 /libs/canvas/canvas/wave_view.h | |
parent | fa32fa1abe76d6fc363789fc406881b78b002832 (diff) |
waveform, mutex for _current_image
may be used in render-thread while invalidate_image_cache() is called.
possible fix for #6478
Diffstat (limited to 'libs/canvas/canvas/wave_view.h')
-rw-r--r-- | libs/canvas/canvas/wave_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/canvas/canvas/wave_view.h b/libs/canvas/canvas/wave_view.h index e9df823a9c..51c14c1d2e 100644 --- a/libs/canvas/canvas/wave_view.h +++ b/libs/canvas/canvas/wave_view.h @@ -401,6 +401,7 @@ public: static gint drawing_thread_should_quit; static Glib::Threads::Mutex request_queue_lock; + static Glib::Threads::Mutex current_image_lock; static Glib::Threads::Cond request_cond; static Glib::Threads::Thread* _drawing_thread; typedef std::set<WaveView const *> DrawingRequestQueue; |