ChibiOS  20.3.4
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...
 
nil_system_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 465 of file nil/include/ch.h.

Field Documentation

◆ ctx

struct port_context nil_thread::ctx

Processor context.

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

◆ state

tstate_t nil_thread::state

Thread state.

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

◆ msg

msg_t nil_thread::msg

Wake-up/exit message.

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

◆ p

void* nil_thread::p

Generic pointer.

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

◆ nsp

nil_system_t* nil_thread::nsp

Pointer to nil base struct.

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

◆ trp

thread_reference_t* nil_thread::trp

Pointer to thread reference.

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

◆ tqp

threads_queue_t* nil_thread::tqp

Pointer to thread queue.

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

◆ tp

thread_t* nil_thread::tp

Pointer to thread.

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

◆ semp

semaphore_t* nil_thread::semp

Pointer to semaphore.

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

◆ ewmask

eventmask_t nil_thread::ewmask

Enabled events mask.

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

◆ timeout

volatile sysinterval_t nil_thread::timeout

Timeout counter, zero if disabled.

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

◆ epmask

eventmask_t nil_thread::epmask

Pending events mask.

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

◆ sntmsg

msg_t nil_thread::sntmsg

Sent message.

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

◆ wabase

stkalign_t* nil_thread::wabase

Thread stack boundary.

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