...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The executor type associated with the context.
typedef system_executor executor_type;
Name |
Description |
---|---|
Obtain the underlying execution context. |
|
Request the system executor to invoke the given function object. |
|
Request the system executor to invoke the given function object. |
|
Inform the executor that some work is no longer outstanding. |
|
Inform the executor that it has some outstanding work to do. |
|
Request the system executor to invoke the given function object. |
Name |
Description |
---|---|
Compare two executors for inequality. |
|
Compare two executors for equality. |
The system executor represents an execution context where functions are
permitted to run on arbitrary threads. The post()
and defer()
functions schedule the function to run on an unspecified system thread
pool, and dispatch()
invokes the function immediately.
Header: boost/asio/system_context.hpp
Convenience header: boost/asio.hpp