...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Executor implementation type used to submit functions to a thread pool.
template< typename Allocator, unsigned int Bits> class basic_executor_type
Name |
Description |
---|---|
The bulk execution index type. |
|
The sender type, when this type is used as a scheduler. |
|
The bulk execution shape type. |
Name |
Description |
---|---|
basic_executor_type [constructor] |
Copy constructor. |
Bulk execution function. |
|
Connect function. |
|
Obtain the underlying execution context. |
|
Request the thread pool to invoke the given function object. |
|
Request the thread pool to invoke the given function object. |
|
Execution function. |
|
Inform the thread pool that some work is no longer outstanding. |
|
Inform the thread pool that it has some outstanding work to do. |
|
Assignment operator. |
|
Request the thread pool to invoke the given function object. |
|
Query the current value of the context property. |
|
query [static] |
Query the current value of the bulk_guarantee property. |
Obtain an executor with the blocking.possibly property. |
|
Determine whether the thread pool is running in the current thread. |
|
Schedule function. |
|
~basic_executor_type [destructor] |
Destructor. |
Name |
Description |
---|---|
Compare two executors for inequality. |
|
Compare two executors for equality. |
Header: boost/asio/thread_pool.hpp
Convenience header: boost/asio.hpp