17 #ifndef THREADPOOL_DETAIL_SCOPE_GUARD_HPP_INCLUDED
18 #define THREADPOOL_DETAIL_SCOPE_GUARD_HPP_INCLUDED
22 #include <boost/function.hpp>
25 namespace boost {
namespace threadpool {
namespace detail
30 :
private boost::noncopyable
37 : m_function(call_on_exit)
44 if(m_is_active && m_function)
63 #endif // THREADPOOL_DETAIL_SCOPE_GUARD_HPP_INCLUDED
function0< void > const m_function
The namespace threadpool contains a thread pool and related utility classes.
scope_guard(function0< void > const &call_on_exit)
TupleObj.h GaudiAlg/TupleObj.h namespace with few technical implementations.