diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-14 15:09:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-14 15:09:05 +0100 |
| commit | 853b8641ee7fb8348302c0daae838c4891769b1d (patch) | |
| tree | 069d2dc6d32d0b7ab45da3c7d45cd2aa15ce2680 /src/lib/playlist.h | |
| parent | 0a5de051937ad3999dea70d80bcc4215083b8694 (diff) | |
Protect playlist with a mutex so that we can add content safely from e.g. examine content threads.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h index 7dbf41604..cd902d223 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -90,6 +90,7 @@ private: bool _sequence_video; bool _sequencing_video; std::list<boost::signals2::connection> _content_connections; + mutable boost::mutex _mutex; }; #endif |
