template<typename Task = prio_task_func>
class boost::threadpool::prio_scheduler< Task >
SchedulingPolicy which implements prioritized ordering.
This container implements a scheduling policy based on task priorities. The task with highest priority will be the first to be removed. It must be possible to compare two tasks using operator<.
|Task||A function object which implements the operator() and operator<. operator< must be a partial ordering.|
- See also
Definition at line 193 of file scheduling_policies.hpp.