Round robin implementation of async worker scheduler. More...
#include <round_robin.h>


Public Member Functions | |
| api_status | init (async_worker *workers, size_t worker_count) override |
| api_status | next (async_worker **worker) override |
| Grabs the next suitable scheduler, according to the algorithm being used. More... | |
Public Member Functions inherited from cl::threading::scheduler | |
| virtual api_status | init (async_worker workers[], size_t worker_count)=0 |
| Initializes the scheduler. More... | |
Round robin implementation of async worker scheduler.
Schedules by simply rotating a list of workers.
|
overridevirtual |
Grabs the next suitable scheduler, according to the algorithm being used.
| worker | a pointer to an async_worker pointer that will contain the result. |
Implements cl::threading::scheduler.