RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_sched_thread_ctx结构体 参考

#include <rtsched.h>

成员变量

rt_list_t thread_list_node
 
rt_uint8_t stat
 
rt_uint8_t sched_flag_locked:1
 
rt_uint8_t sched_flag_ttmr_set:1
 
struct rt_sched_thread_priv sched_thread_priv
 

详细描述

Scheduler public status binding on thread. Caller must hold the scheduler lock before access any one of its member.

在文件 rtsched.h49 行定义.

结构体成员变量说明

◆ thread_list_node

rt_list_t rt_sched_thread_ctx::thread_list_node

node in thread list

在文件 rtsched.h51 行定义.

◆ stat

rt_uint8_t rt_sched_thread_ctx::stat

thread status

在文件 rtsched.h53 行定义.

◆ sched_flag_locked

rt_uint8_t rt_sched_thread_ctx::sched_flag_locked

calling thread have the scheduler locked

在文件 rtsched.h54 行定义.

◆ sched_flag_ttmr_set

rt_uint8_t rt_sched_thread_ctx::sched_flag_ttmr_set

thread timer is start

在文件 rtsched.h55 行定义.

◆ sched_thread_priv

struct rt_sched_thread_priv rt_sched_thread_ctx::sched_thread_priv

private context of scheduler

在文件 rtsched.h68 行定义.