ChibiOS/RT Architecture - Reference Manual - Guides |
Thread queues/lists code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | prio_insert (Thread *tp, ThreadsQueue *tqp) |
Inserts a thread into a priority ordered queue. | |
void | queue_insert (Thread *tp, ThreadsQueue *tqp) |
Inserts a Thread into a queue. | |
Thread * | fifo_remove (ThreadsQueue *tqp) |
Removes the first-out Thread from a queue and returns it. | |
Thread * | lifo_remove (ThreadsQueue *tqp) |
Removes the last-out Thread from a queue and returns it. | |
Thread * | dequeue (Thread *tp) |
Removes a Thread from a queue and returns it. | |
void | list_insert (Thread *tp, ThreadsList *tlp) |
Pushes a Thread on top of a stack list. | |
Thread * | list_remove (ThreadsList *tlp) |
Pops a Thread from the top of a stack list and returns it. |
Thread queues/lists code.
Definition in file chlists.c.