BEEP-8 SDK 1.0.0
|
Minimal POSIX-compliant scheduling definitions for the BEEP-8 system. More...
Go to the source code of this file.
Classes | |
struct | b8_sched_param |
Macros | |
#define | SCHED_FIFO 1 |
#define | SCHED_RR 2 |
#define | SCHED_SPORADIC 3 |
#define | SCHED_IRQ 4 |
#define | SCHED_OTHER 5 |
#define | sched_param b8_sched_param |
Functions | |
int | sched_get_priority_max (int policy) |
Minimal POSIX-compliant scheduling definitions for the BEEP-8 system.
This file provides minimal POSIX-compliant scheduling definitions and declarations necessary for the BEEP-8 system. It defines several scheduling policies and a basic sched_param
structure for setting thread priorities.
The scheduling policies supported include:
SCHED_FIFO
: FIFO priority scheduling policySCHED_RR
: Round robin scheduling policySCHED_SPORADIC
: Sporadic scheduling policySCHED_IRQ
: IRQ handler scheduling policySCHED_OTHER
: Not supportedThis file also provides a function prototype for retrieving the maximum priority value for a given scheduling policy.
Typically, users do not need to use this header directly. It is intended for internal use within the BEEP-8 system to handle scheduling-related operations.