|
libcosmos
Linux C++ System Programming Library
|
FIFO Scheduling Policy Settings. More...
#include <Scheduler.hxx>
Inheritance diagram for cosmos::FifoSchedulerSettings:Additional Inherited Members | |
Public Member Functions inherited from cosmos::RealTimeSchedulerSettings | |
| RealTimeSchedulerSettings (const SchedulerPolicy policy) | |
| void | setPriority (const int priority) |
| int | priority () const |
| int | minPriority () const |
| int | maxPriority () const |
Public Member Functions inherited from cosmos::SchedulerSettings | |
| SchedulerSettings (const SchedulerPolicy policy) | |
| SchedulerPolicy | policy () const |
| void | apply (ProcessID pid) const |
| Apply the current scheduler settings to the given process. | |
Protected Member Functions inherited from cosmos::RealTimeSchedulerSettings | |
| void | fillStruct (struct sched_attr &attr) const override |
| Fill the given low level sched_attr struct with the current settings. | |
Protected Member Functions inherited from cosmos::SchedulerSettings | |
Protected Attributes inherited from cosmos::RealTimeSchedulerSettings | |
| int | m_priority = 0 |
Protected Attributes inherited from cosmos::SchedulerSettings | |
| 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.