ChibiOS  21.6.0
nil_thread Struct Reference

Structure representing a thread. More...

#include <ch.h>

Collaboration diagram for nil_thread:
Collaboration graph

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_twabase
 Thread stack boundary.
More...
 
msg_t msg
 Wake-up/exit message.
More...
 
void * p
 Generic pointer.
More...
 
os_instance_tnsp
 Pointer to nil base struct. More...
 
thread_reference_ttrp
 Pointer to thread reference. More...
 
threads_queue_ttqp
 Pointer to thread queue.
More...
 
thread_ttp
 Pointer to thread.
More...
 
semaphore_tsemp
 Pointer to semaphore.
More...
 
eventmask_t ewmask
 Enabled events mask.
More...
 

Detailed Description

Structure representing a thread.

Definition at line 514 of file nil/include/ch.h.

Field Documentation

◆ ctx

struct port_context nil_thread::ctx

Processor context.

Definition at line 515 of file nil/include/ch.h.

◆ state

tstate_t nil_thread::state

Thread state.

Definition at line 516 of file nil/include/ch.h.

◆ msg

msg_t nil_thread::msg

Wake-up/exit message.

Definition at line 520 of file nil/include/ch.h.

◆ p

void* nil_thread::p

Generic pointer.

Definition at line 521 of file nil/include/ch.h.

◆ nsp

os_instance_t* nil_thread::nsp

Pointer to nil base struct.

Definition at line 522 of file nil/include/ch.h.

◆ trp

thread_reference_t* nil_thread::trp

Pointer to thread reference.

Definition at line 523 of file nil/include/ch.h.

◆ tqp

threads_queue_t* nil_thread::tqp

Pointer to thread queue.

Definition at line 524 of file nil/include/ch.h.

◆ tp

thread_t* nil_thread::tp

Pointer to thread.

Definition at line 525 of file nil/include/ch.h.

◆ semp

semaphore_t* nil_thread::semp

Pointer to semaphore.

Definition at line 527 of file nil/include/ch.h.

◆ ewmask

eventmask_t nil_thread::ewmask

Enabled events mask.

Definition at line 530 of file nil/include/ch.h.

◆ timeout

volatile sysinterval_t nil_thread::timeout

Timeout counter, zero if disabled.

Definition at line 533 of file nil/include/ch.h.

◆ epmask

eventmask_t nil_thread::epmask

Pending events mask.

Definition at line 536 of file nil/include/ch.h.

◆ sntmsg

msg_t nil_thread::sntmsg

Sent message.

Definition at line 539 of file nil/include/ch.h.

◆ wabase

stkalign_t* nil_thread::wabase

Thread stack boundary.

Definition at line 542 of file nil/include/ch.h.