ChibiOS/NIL
4.0.1
|
Structure representing a thread. More...
#include <ch.h>
Data Fields | |
struct port_context | ctx |
Processor context. More... | |
tstate_t | state |
Thread state. More... | |
volatile sysinterval_t | timeout |
Timeout counter, zero if disabled. More... | |
eventmask_t | epmask |
Pending events mask. More... | |
msg_t | sntmsg |
Sent message. More... | |
stkalign_t * | wabase |
Thread stack boundary. More... | |
msg_t | msg |
Wake-up/exit message. More... | |
void * | p |
Generic pointer. More... | |
nil_system_t * | nsp |
Pointer to nil base struct. More... | |
thread_reference_t * | trp |
Pointer to thread reference. More... | |
threads_queue_t * | tqp |
Pointer to thread queue. More... | |
thread_t * | tp |
Pointer to thread. More... | |
semaphore_t * | semp |
Pointer to semaphore. More... | |
eventmask_t | ewmask |
Enabled events mask. More... | |
tstate_t nil_thread::state |
Thread state.
Definition at line 467 of file ch.h.
Referenced by chMsgRelease(), chSchGoSleepTimeoutS(), chSysInit(), chThdExit(), nil_find_thread(), and nil_ready_all().
msg_t nil_thread::msg |
void* nil_thread::p |
Generic pointer.
Definition at line 472 of file ch.h.
Referenced by nil_find_thread(), and nil_ready_all().
nil_system_t* nil_thread::nsp |
thread_reference_t* nil_thread::trp |
Pointer to thread reference.
Definition at line 474 of file ch.h.
Referenced by chThdSuspendTimeoutS().
threads_queue_t* nil_thread::tqp |
thread_t* nil_thread::tp |
semaphore_t* nil_thread::semp |
eventmask_t nil_thread::ewmask |
Enabled events mask.
Definition at line 481 of file ch.h.
Referenced by chEvtWaitAllTimeout(), chEvtWaitAnyTimeout(), and chEvtWaitOneTimeout().
volatile sysinterval_t nil_thread::timeout |
Timeout counter, zero if disabled.
Definition at line 484 of file ch.h.
Referenced by chSchGoSleepTimeoutS(), and chSysTimerHandlerI().
eventmask_t nil_thread::epmask |
Pending events mask.
Definition at line 487 of file ch.h.
Referenced by chEvtSignalI(), chEvtWaitAllTimeout(), chEvtWaitAnyTimeout(), and chEvtWaitOneTimeout().
msg_t nil_thread::sntmsg |
stkalign_t* nil_thread::wabase |