diff options
Diffstat (limited to 'src/lib/j2k_encoder.h')
| -rw-r--r-- | src/lib/j2k_encoder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h index b4542c40a..d56fc1aec 100644 --- a/src/lib/j2k_encoder.h +++ b/src/lib/j2k_encoder.h @@ -87,9 +87,8 @@ private: EventHistory _history; - /** Mutex for _threads */ - mutable boost::mutex _threads_mutex; - std::list<boost::thread*> _threads; + boost::shared_ptr<boost::thread_group> _threads; + mutable boost::mutex _queue_mutex; std::list<boost::shared_ptr<DCPVideo> > _queue; /** condition to manage thread wakeups when we have nothing to do */ |
