...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Executor used to submit functions to a thread pool.
typedef basic_executor_type< std::allocator< void >, 0 > executor_type;
Name |
Description |
---|---|
basic_executor_type [constructor] |
Copy constructor. |
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 mapping property. |
Obtain an executor with the blocking.possibly property. |
|
Determine whether the thread pool is running in the current thread. |
|
~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