Loading...
Searching...
No Matches
_thread Struct Reference

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

Detailed Description

thread_t holds thread's context data.

Definition at line 168 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.
 
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

◆ flags

thread_flags_t _thread::flags

currently set flags

Definition at line 176 of file thread.h.

◆ msg_array

msg_t* _thread::msg_array

memory holding messages sent to this thread's message queue

Definition at line 192 of file thread.h.

◆ msg_queue

cib_t _thread::msg_queue

index of this [thread's message queue] (thread_t::msg_array), if any

Definition at line 190 of file thread.h.

◆ 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 187 of file thread.h.

◆ name

const char* _thread::name

thread's name

Definition at line 200 of file thread.h.

◆ pid

kernel_pid_t _thread::pid

thread's process id

Definition at line 173 of file thread.h.

◆ priority

uint8_t _thread::priority

thread's priority

Definition at line 171 of file thread.h.

◆ rq_entry

clist_node_t _thread::rq_entry

run queue entry

Definition at line 179 of file thread.h.

◆ sp

char* _thread::sp

thread's stack pointer

Definition at line 169 of file thread.h.

◆ stack_size

int _thread::stack_size

thread's stack size

Definition at line 203 of file thread.h.

◆ stack_start

char* _thread::stack_start

thread's stack start address

Definition at line 197 of file thread.h.

◆ status

thread_status_t _thread::status

thread's status

Definition at line 170 of file thread.h.

◆ wait_data

void* _thread::wait_data

used by msg, mbox and thread flags

Definition at line 183 of file thread.h.


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