An object of type executor_work_guard
controls ownership of executor work within a scope.
template< typename Executor> class executor_work_guard
Name |
Description |
---|---|
The underlying executor type. |
Name |
Description |
---|---|
Constructs a executor_work_guard object for the specified executor. Copy constructor. Move constructor. |
|
Obtain the associated executor. |
|
Whether the executor_work_guard object owns some outstanding work. |
|
Indicate that the work is no longer outstanding. |
|
Destructor. |