|
|
Scheduler architecture (Cortex-M3) specific parts. More...
Defines | |
#define | OS_SCHEDULE_REQ DOC_HIDDEN |
Set scheduling request. This is used in ISRs. scheduling will be done after processing all ISRs (pending or active) | |
Functions | |
static os_result_t | os_schedule (void) |
Scheduling request. It is used in system function when context switching may be necessary. | |
static void | os_schedule_init (void) |
Enables PendSV Exception - it is required for scheduling on ISR exit (the functionality is hardware supported) |
static os_result_t os_schedule | ( | void | ) | [inline, static] |
Scheduling request. It is used in system function when context switching may be necessary.
Note that this function can switch to another thread, so returns after switching back here.
{ DOC_HIDDEN }
static void os_schedule_init | ( | void | ) | [inline, static] |
Enables PendSV Exception - it is required for scheduling on ISR exit (the functionality is hardware supported)
{ DOC_HIDDEN }