|
From: Frank M. H. <fm...@us...> - 2007-03-02 16:00:41
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/detail In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32237/boost/thread_safe_signals/detail Modified Files: signal_template.hpp Log Message: Got rid of signalslib::connection::block() and unblock() and replaced them with exception-safe signalslib::shared_connection_block() class. The new way is also more useable in a multi-threaded context, since it prevents one thread from unexpectedly unblocking a connection that another thread wants blocked. Index: signal_template.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/detail/signal_template.hpp,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- signal_template.hpp 1 Mar 2007 19:06:09 -0000 1.41 +++ signal_template.hpp 2 Mar 2007 16:00:39 -0000 1.42 @@ -31,7 +31,7 @@ // typename R, typename T1, typename T2, ..., typename TN, typename Combiner = boost::last_value<R>, ... #define BOOST_SIGNAL_TEMPLATE_DEFAULTED_DECL \ BOOST_SIGNAL_SIGNATURE_TEMPLATE_DECL(BOOST_SIGNALS_NUM_ARGS), \ - typename Combiner = boost::last_value<R>, \ + typename Combiner = last_value<R>, \ typename Group = int, \ typename GroupCompare = std::less<Group>, \ typename SlotFunction = BOOST_FUNCTION_N_DECL(BOOST_SIGNALS_NUM_ARGS), \ |