|
From: Frank M. H. <fm...@us...> - 2007-02-18 22:47:24
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23851/thread_safe_signals Modified Files: connection.hpp multi_threaded.hpp single_threaded.hpp Log Message: Clean-ups made possible by reduced scope of locking in slot iterator. Index: connection.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/connection.hpp,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- connection.hpp 17 Feb 2007 16:03:32 -0000 1.16 +++ connection.hpp 18 Feb 2007 22:47:18 -0000 1.17 @@ -91,7 +91,7 @@ class ConnectionBody: public ConnectionBodyBase { public: - typedef typename ThreadingModel::recursive_try_mutex_type mutex_type; + typedef typename ThreadingModel::try_mutex_type mutex_type; ConnectionBody(const slot<SlotFunction> &slot_in): ConnectionBodyBase(slot_in.get_all_tracked()), slot(slot_in.get_slot_function()) { Index: single_threaded.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/single_threaded.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- single_threaded.hpp 17 Feb 2007 03:12:22 -0000 1.1 +++ single_threaded.hpp 18 Feb 2007 22:47:19 -0000 1.2 @@ -39,6 +39,7 @@ { public: typedef detail::null_mutex mutex_type; + typedef detail::null_mutex try_mutex_type; typedef detail::null_mutex recursive_try_mutex_type; }; } // end namespace signalslib Index: multi_threaded.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/multi_threaded.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- multi_threaded.hpp 17 Feb 2007 03:12:22 -0000 1.1 +++ multi_threaded.hpp 18 Feb 2007 22:47:19 -0000 1.2 @@ -23,7 +23,7 @@ { public: typedef mutex mutex_type; - typedef recursive_try_mutex recursive_try_mutex_type; + typedef try_mutex try_mutex_type; }; } // end namespace signalslib } // end namespace boost |