Create an executor_work_guard
object.
template< typename T, typename Executor> executor_work_guard< typename associated_executor< T, Executor >::type > make_work_guard( const T & t, const Executor & ex, typename enable_if< is_executor< Executor >::value >::type * = 0);