ChibiOS
21.6.0
|
Scheduler code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
static thread_t * | __sch_ready_behind (thread_t *tp) |
Inserts a thread in the Ready List placing it behind its peers. More... | |
static thread_t * | __sch_ready_ahead (thread_t *tp) |
Inserts a thread in the Ready List placing it ahead its peers. More... | |
static void | __sch_reschedule_behind (void) |
Switches to the first thread on the runnable queue. More... | |
static void | __sch_reschedule_ahead (void) |
Switches to the first thread on the runnable queue. More... | |
void | ch_sch_prio_insert (ch_queue_t *qp, ch_queue_t *tp) |
Inserts a thread into a priority ordered queue. More... | |
thread_t * | chSchReadyI (thread_t *tp) |
Inserts a thread in the Ready List placing it behind its peers. More... | |
void | chSchGoSleepS (tstate_t newstate) |
Puts the current thread to sleep into the specified state. More... | |
msg_t | chSchGoSleepTimeoutS (tstate_t newstate, sysinterval_t timeout) |
Puts the current thread to sleep into the specified state with timeout specification. More... | |
void | chSchWakeupS (thread_t *ntp, msg_t msg) |
Wakes up a thread. More... | |
void | chSchRescheduleS (void) |
Performs a reschedule if a higher priority thread is runnable. More... | |
bool | chSchIsPreemptionRequired (void) |
Evaluates if preemption is required. More... | |
void | chSchDoPreemption (void) |
Switches to the first thread on the runnable queue. More... | |
void | chSchPreemption (void) |
All-in-one preemption code. More... | |
void | chSchDoYieldS (void) |
Yields the time slot. More... | |
thread_t * | chSchSelectFirstI (void) |
Makes runnable the fist thread in the ready list, does not reschedule internally. More... | |
Scheduler code.
Definition in file chschd.c.