Constructs a executor_work_guard object for the specified executor.
executor_work_guard
executor_work_guard( const executor_type & e);
Stores a copy of e and calls on_work_started() on it.
e
on_work_started()