id summary reporter owner description type status milestone component version severity resolution keywords cc 9058 with_lock_guard function ruslan_baratov@… viboes "There is example of with_lock_guard function in documentation. Generalized implementation: {{{ template auto with_lock_guard( Lockable& m, BOOST_FWD_REF(Function) f, BOOST_FWD_REF(Args)... args ) -> decltype(f(args...)) { boost::lock_guard lock(m); return f(args...); } }}} I can create patch, to what file should I add this? Or create new one? " Feature Requests closed Boost 1.56.0 thread Boost 1.54.0 Problem fixed