diff options
Diffstat (limited to '')
-rw-r--r-- | src/menu/event_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu/event_manager.hpp b/src/menu/event_manager.hpp index db588b9f..6fd37c1a 100644 --- a/src/menu/event_manager.hpp +++ b/src/menu/event_manager.hpp @@ -32,7 +32,7 @@ #include <boost/progress.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread/condition.hpp> -#include <boost/thread/mutex.hpp> +#include <boost/thread/shared_mutex.hpp> #include <boost/thread/thread.hpp> #include <boost/signals2.hpp> @@ -74,7 +74,7 @@ namespace usdx * Mutex to guaranty the mutual exclusion between the multiple * threads. */ - boost::mutex mutex; + mutable boost::shared_mutex mutex; boost::condition not_empty; boost::condition not_full; |