ChibiOS/RT
6.1.4
|
Scheduler code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | ch_sch_prio_insert (ch_queue_t *tp, ch_queue_t *qp) |
Inserts a thread into a priority ordered queue. More... | |
void | _scheduler_init (void) |
Scheduler initialization. More... | |
thread_t * | chSchReadyI (thread_t *tp) |
Inserts a thread in the Ready List placing it behind its peers. More... | |
thread_t * | chSchReadyAheadI (thread_t *tp) |
Inserts a thread in the Ready List placing it ahead 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 | chSchDoRescheduleBehind (void) |
Switches to the first thread on the runnable queue. More... | |
void | chSchDoRescheduleAhead (void) |
Switches to the first thread on the runnable queue. More... | |
void | chSchDoReschedule (void) |
Switches to the first thread on the runnable queue. More... | |
Variables | |
ch_system_t | ch |
System data structures. More... | |
Scheduler code.
Definition in file chschd.c.