![]() |
Home | Libraries | People | FAQ | More |
Adapts an executor to add inline invocation of the submitted function.
template< typename Executor, typename Blocking = execution::blocking_t::always_t, typename InlineExceptionHandling = execution::inline_exception_handling_t::propagate_t> class inline_or_executor
|
Name |
Description |
|---|---|
|
The type of the underlying executor. |
|
Name |
Description |
|---|---|
|
Obtain the underlying execution context. |
|
|
Request the inline_or_executor to invoke the given function object. |
|
|
Request the inline_or_executor to invoke the given function object. |
|
|
Request the inline_or_executor to invoke the given function object. |
|
|
Obtain the underlying executor. |
|
|
inline_or_executor [constructor] |
Default constructor. |
|
Inform the inline_or_executor that some work is no longer outstanding. |
|
|
Inform the inline_or_executor that it has some outstanding work to do. |
|
|
Assignment operator. |
|
|
Request the inline_or_executor to invoke the given function object. |
|
|
Forward a preference to the underlying executor. |
|
|
Forward a query to the underlying executor. |
|
|
query [static] |
Query the current value of the blocking property. |
|
Obtain an executor with the blocking.possibly property. |
|
|
~inline_or_executor [destructor] |
Destructor. |
|
Name |
Description |
|---|---|
|
Compare two inline_or_executors for inequality. |
|
|
Compare two inline_or_executors for equality. |
The inline_or_executor class
template adapts an existing executor such that:
blocking
property is set to blocking.never)
are submitted to the wrapped executor; and
blocking
is blocking.always or blocking.possibly)
are executed inline.
Header: boost/asio/inline_or_executor.hpp
Convenience header: boost/asio.hpp