FIFO scheduler. More...
Public Member Functions | |
template<typename ... Args> | |
fifo_scheduler (Args &&... args) | |
Generic constructor that forwards any arguments to the placement policy. Allows arbitrary initialization of the defined placement policy, as the scheduler itself needs no initialization parameters. | |
void | add_active (entry_type &e) noexcept |
Adds an active entry to the scheduler. | |
void | add_idle (entry_type &) noexcept |
Adds an idle entry to the scheduler. | |
entry_type & | next (void) noexcept |
Returns the next entry to be executed. | |
bool | empty (void) const noexcept |
bool | ready (void) const noexcept |
size_type | size (void) const noexcept |
Public Types | |
typedef none_t | sched_info_type |
typedef sched_entry< sched_info_type, hook_type > | entry_type |
typedef list_type::size_type | size_type |
FIFO scheduler.