![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Binding of worker callbacks to the scheduler implementation.
Definition at line 217 of file scheduler.hpp.
Public Attributes | |
| Scheduler & | scheduler |
Public Attributes inherited from Config | |
| const milliseconds | IDLE_WAIT = 20ms |
| wait period when a worker falls idle | |
| const size_t | DISMISS_CYCLES = 100 |
| number of idle cycles after which the worker terminates | |
Public Member Functions | |
| activity::Proc | doWork () |
| void | finalHook (bool _) |
Additional Inherited Members | |
Static Public Attributes inherited from Config | |
| static size_t | COMPUTATION_CAPACITY = Config::getDefaultComputationCapacity() |
| Nominal »full size« of a pool of concurrent workers. | |
Static Public Member Functions inherited from Config | |
| static size_t | getDefaultComputationCapacity () |
| default value for full computing capacity is to use all (virtual) cores. | |
|
inline |
Definition at line 220 of file scheduler.hpp.
References Scheduler::doWork(), and Scheduler::Setup::scheduler.
Here is the call graph for this function:
|
inline |
Definition at line 221 of file scheduler.hpp.
References _, Scheduler::handleWorkerTermination(), and Scheduler::Setup::scheduler.
Here is the call graph for this function:| Scheduler& scheduler |
Definition at line 219 of file scheduler.hpp.
Referenced by Scheduler::Setup::doWork(), and Scheduler::Setup::finalHook().
Inheritance diagram for Scheduler::Setup:
Collaboration diagram for Scheduler::Setup: