libcosmos
Linux C++ System Programming Library
|
FIFO Scheduling Policy Settings. More...
#include <Scheduler.hxx>
Additional Inherited Members | |
![]() | |
RealTimeSchedulerSettings (const SchedulerPolicy policy) | |
void | setPriority (const int priority) |
int | priority () const |
int | minPriority () const |
int | maxPriority () const |
![]() | |
SchedulerSettings (const SchedulerPolicy policy) | |
SchedulerPolicy | policy () const |
void | apply (ProcessID pid) const |
Apply the current scheduler settings to the given process. | |
![]() | |
void | fillStruct (struct sched_attr &attr) const override |
Fill the given low level sched_attr struct with the current settings. | |
![]() | |
![]() | |
int | m_priority = 0 |
![]() | |
SchedulerPolicy | m_policy = SchedulerPolicy::INVALID |
FIFO Scheduling Policy Settings.
FIFO realtime scheduling means that a process will only be preempted with another process with higher priority is available. If multiple processes share the same (highest) priority then one of them is selected for running and it is only preempted by another thread with the same priority if the running thread * becomes blocked.
Definition at line 159 of file Scheduler.hxx.
|
inline |
Definition at line 163 of file Scheduler.hxx.