...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
An executor that uses arbitrary threads.
typedef basic_system_executor< execution::blocking_t::possibly_t, execution::relationship_t::fork_t, std::allocator< void > > system_executor;
Name |
Description |
---|---|
basic_system_executor [constructor] |
Default constructor. |
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. |
|
Execution function. |
|
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. |
|
Query the current value of the allocator property. |
|
query [static] |
Query the current value of the mapping property. |
Obtain an executor with the blocking.possibly property. |
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. When the blocking.never property is established, the system executor will schedule the function to run on an unspecified system thread pool. When either blocking.possibly or blocking.always is established, the executor invokes the function immediately.
The system executor represents an execution context where functions are permitted to run on arbitrary threads. When the blocking.never property is established, the system executor will schedule the function to run on an unspecified system thread pool. When either blocking.possibly or blocking.always is established, the executor invokes the function immediately.
Header: boost/asio/system_executor.hpp
Convenience header: boost/asio.hpp