|
coastline 0.0.4
|
A thread: its place in the queues, its state, and the registers saved when it last stopped. More...
#include <os.h>

Public Attributes | |
| struct OSThread_s * | next |
| OSPri | priority |
| struct OSThread_s ** | queue |
| struct OSThread_s * | tlnext |
| u16 | state |
| u16 | flags |
| OSId | id |
| int | fp |
| __OSThreadContext | context |
A thread: its place in the queues, its state, and the registers saved when it last stopped.
| struct OSThread_s* OSThread_s::next |
The next thread of the queue the thread waits on.
| OSPri OSThread_s::priority |
The priority, from OS_PRIORITY_IDLE to OS_PRIORITY_MAX.
| struct OSThread_s** OSThread_s::queue |
The queue the thread is on, or NULL.
| struct OSThread_s* OSThread_s::tlnext |
The next thread of the active queue.
| u16 OSThread_s::state |
The run state, one of the OS_STATE_* values.
| u16 OSThread_s::flags |
The flags of a CPU break or fault in the thread.
| OSId OSThread_s::id |
The identifier osCreateThread() received.
| int OSThread_s::fp |
Whether the thread has used the FPU and its context saves it.
| __OSThreadContext OSThread_s::context |
The registers saved while the thread does not run.