Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Thread Structure. More...
#include <thread.h>
Data Fields | |
struct _thread_base | base |
struct _callee_saved | callee_saved |
defined by the architecture, but all archs need these | |
void * | init_data |
static thread init data | |
_wait_q_t | join_queue |
threads waiting in k_thread_join() | |
struct __thread_entry | entry |
thread entry and parameters description | |
struct k_thread * | next_thread |
next item in list of all threads | |
void * | custom_data |
crude thread-local storage | |
struct _thread_stack_info | stack_info |
Stack Info. | |
struct _mem_domain_info | mem_domain_info |
memory domain info of the thread | |
k_thread_stack_t * | stack_obj |
Base address of thread stack. | |
void * | syscall_frame |
current syscall frame pointer | |
int | swap_retval |
z_swap() return value | |
void * | switch_handle |
Context handle returned via arch_switch() | |
struct k_heap * | resource_pool |
resource pool | |
_wait_q_t | halt_queue |
threads waiting in k_thread_suspend() | |
struct _thread_arch | arch |
arch-specifics: must always be at the end | |
Thread Structure.
struct _thread_arch k_thread::arch |
arch-specifics: must always be at the end
struct _thread_base k_thread::base |
struct _callee_saved k_thread::callee_saved |
defined by the architecture, but all archs need these
void* k_thread::custom_data |
crude thread-local storage
struct __thread_entry k_thread::entry |
thread entry and parameters description
_wait_q_t k_thread::halt_queue |
threads waiting in k_thread_suspend()
void* k_thread::init_data |
static thread init data
_wait_q_t k_thread::join_queue |
threads waiting in k_thread_join()
struct _mem_domain_info k_thread::mem_domain_info |
memory domain info of the thread
struct k_thread* k_thread::next_thread |
next item in list of all threads
struct k_heap* k_thread::resource_pool |
resource pool
struct _thread_stack_info k_thread::stack_info |
Stack Info.
k_thread_stack_t* k_thread::stack_obj |
Base address of thread stack.
If memory mapped stack (CONFIG_THREAD_STACK_MEM_MAPPED) is enabled, this is the physical address of the stack.
int k_thread::swap_retval |
z_swap() return value
void* k_thread::switch_handle |
Context handle returned via arch_switch()
void* k_thread::syscall_frame |
current syscall frame pointer