boost::capy::thread_pool::executor_type
An executor that submits work to a thread_pool.
Synopsis
Declared in <boost/capy/ex/thread_pool.hpp>
class executor_type;
Description
Executors are lightweight handles that can be copied and stored. All copies refer to the same underlying thread pool.
Member Functions
Name |
Description |
|
Default construct a null executor. |
Return the underlying thread pool. |
|
Dispatch a coroutine for execution. |
|
Notify that work has finished (no‐op for thread pools). |
|
Notify that work has started (no‐op for thread pools). |
|
Post a coroutine to the thread pool. |
|
Return true if two executors refer to the same thread pool. |
Friends
| Name | Description |
|---|---|
A pool of threads for executing work concurrently. |
Created with MrDocs