BEEP-8 SDK 1.0.0
Loading...
Searching...
No Matches
sched.h File Reference

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)
 

Detailed Description

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 policy
  • SCHED_RR: Round robin scheduling policy
  • SCHED_SPORADIC: Sporadic scheduling policy
  • SCHED_IRQ: IRQ handler scheduling policy
  • SCHED_OTHER: Not supported

This 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.