mrdocs::ExecutorGroup
A set of execution agents for performing concurrent work.
Synopsis
template<class Agent>
class ExecutorGroup
: public ExecutorGroupBase
Base Classes
Name |
Description |
Base class that owns a pool of execution agents and a shared work queue. |
Member Functions
Name |
Description |
|
Construct a new executor group bound to a thread pool. |
Submit work to be executed. |
|
Construct a new agent in the group. |
|
Block until all work has completed. |
Protected Data Members
Name |
Description |
Agents owned by the group. |
|
Number of worker threads currently running. |
|
Signals when a worker finishes so a waiter can re‐check for idle. |
|
Errors thrown by submitted work. |
|
Guards the work queue, agent list, and error set. |
|
Pool that owns the worker threads. |
|
Pending work posted to the group. |
Created with MrDocs