Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sched.h File Reference
#include <zephyr/kernel.h>

Go to the source code of this file.

Macros

#define SCHED_OTHER   0
 
#define SCHED_FIFO   1
 
#define SCHED_RR   2
 

Functions

static int sched_yield (void)
 Yield the processor.
 
int sched_get_priority_min (int policy)
 
int sched_get_priority_max (int policy)
 

Macro Definition Documentation

◆ SCHED_FIFO

#define SCHED_FIFO   1

◆ SCHED_OTHER

#define SCHED_OTHER   0

◆ SCHED_RR

#define SCHED_RR   2

Function Documentation

◆ sched_get_priority_max()

int sched_get_priority_max ( int  policy)

◆ sched_get_priority_min()

int sched_get_priority_min ( int  policy)

◆ sched_yield()

static int sched_yield ( void  )
inlinestatic

Yield the processor.

See IEEE 1003.1