ChibiOS/RT Architecture - Reference Manual - Guides |
Scheduler code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | scheduler_init (void) |
Scheduler initialization. | |
Thread * | chSchReadyI (Thread *tp) |
Inserts a thread in the Ready List. | |
void | chSchGoSleepS (tstate_t newstate) |
Puts the current thread to sleep into the specified state. | |
msg_t | chSchGoSleepTimeoutS (tstate_t newstate, systime_t time) |
Puts the current thread to sleep into the specified state with timeout specification. | |
void | chSchWakeupS (Thread *ntp, msg_t msg) |
Wakes up a thread. | |
void | chSchDoRescheduleI (void) |
Switches to the first thread on the runnable queue. | |
void | chSchRescheduleS (void) |
Performs a reschedule if a higher priority thread is runnable. | |
bool_t | chSchIsRescRequiredExI (void) |
Evaluates if a reschedule is required. | |
Variables | |
ReadyList | rlist |
Ready list header. |
Scheduler code.
Definition in file chschd.c.