asio C++ library

PrevUpHomeNext
thread_pool::basic_executor_type::require (7 of 9 overloads)

Obtain an executor with the outstanding_work.untracked property.

constexpr basic_executor_type< Allocator, unspecified > require(
    execution::outstanding_work_t::untracked_t ) const;

Do not call this function directly. It is intended for use with the require customisation point.

For example:

auto ex1 = my_thread_pool.executor();
auto ex2 = asio::require(ex1,
    asio::execution::outstanding_work.untracked);

PrevUpHomeNext