_thread Struct Reference

thread_t holds thread's context data. More...

Detailed Description

thread_t holds thread's context data.

Definition at line 154 of file thread.h.

#include <thread.h>

Data Fields

char * sp
 thread's stack pointer

 
thread_status_t status
 thread's status

 
uint8_t priority
 thread's priority

 
kernel_pid_t pid
 thread's process id

 
thread_flags_t flags
 currently set flags

 
clist_node_t rq_entry
 run queue entry

 
void * wait_data
 used by msg, mbox and thread flags

 
list_node_t msg_waiters
 threads waiting for their message to be delivered to this thread (i.e. More...
 
cib_t msg_queue
 index of this [thread's message queue] (thread_t::msg_array), if any

 
msg_tmsg_array
 memory holding messages sent to this thread's message queue
 
char * stack_start
 thread's stack start address

 
const char * name
 thread's name

 
int stack_size
 thread's stack size

 

Field Documentation

◆ msg_waiters

list_node_t _thread::msg_waiters

threads waiting for their message to be delivered to this thread (i.e.

all blocked sends)

Definition at line 173 of file thread.h.


The documentation for this struct was generated from the following file: