RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
|
#include <rtdef.h>
Data Fields | |
void * | sp |
void * | entry |
void * | parameter |
void * | stack_addr |
rt_uint32_t | stack_size |
rt_err_t | error |
RT_SCHED_THREAD_CTX struct rt_timer | thread_timer |
rt_thread_cleanup_t | cleanup |
rt_ubase_t | user_data |
Thread structure
void* rt_thread::sp |
stack point
void* rt_thread::entry |
entry
void* rt_thread::parameter |
parameter
void* rt_thread::stack_addr |
stack address
rt_uint32_t rt_thread::stack_size |
stack size
rt_err_t rt_thread::error |
error code
RT_SCHED_THREAD_CTX struct rt_timer rt_thread::thread_timer |
built-in thread timer
rt_thread_cleanup_t rt_thread::cleanup |
cleanup function when thread exit
rt_ubase_t rt_thread::user_data |
private user data beyond this thread