Boost C++ Libraries Home Libraries People FAQ More

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

Obtain an executor with the blocking.possibly property.

constexpr basic_executor_type< Allocator, unspecified > require(
    execution::blocking_t::possibly_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 = boost::asio::require(ex1,
    boost::asio::execution::blocking.possibly);

PrevUpHomeNext