更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
_pthread_data结构体 参考

#include <pprivate.h>

成员变量

pthread_attr_t attr
 
pthread_t id
 
LosTaskCBtask
 
CHAR name [PTHREAD_DATA_NAME_MAX]
 
UINT8 state
 
UINT8 cancelstate
 
volatile UINT8 canceltype
 
volatile UINT8 canceled
 
struct pthread_cleanup_buffer * cancelbuffer
 
UINT32 freestack
 
UINT32 stackmem
 
VOID ** thread_data
 

详细描述

在文件 pprivate.h52 行定义.

结构体成员变量说明

◆ attr

pthread_attr_t _pthread_data::attr

在文件 pprivate.h53 行定义.

◆ cancelbuffer

struct pthread_cleanup_buffer* _pthread_data::cancelbuffer

在文件 pprivate.h61 行定义.

◆ canceled

volatile UINT8 _pthread_data::canceled

在文件 pprivate.h60 行定义.

◆ cancelstate

UINT8 _pthread_data::cancelstate

在文件 pprivate.h58 行定义.

◆ canceltype

volatile UINT8 _pthread_data::canceltype

在文件 pprivate.h59 行定义.

◆ freestack

UINT32 _pthread_data::freestack

在文件 pprivate.h62 行定义.

◆ id

pthread_t _pthread_data::id

在文件 pprivate.h54 行定义.

◆ name

CHAR _pthread_data::name[PTHREAD_DATA_NAME_MAX]

在文件 pprivate.h56 行定义.

◆ stackmem

UINT32 _pthread_data::stackmem

在文件 pprivate.h63 行定义.

◆ state

UINT8 _pthread_data::state

在文件 pprivate.h57 行定义.

◆ task

LosTaskCB* _pthread_data::task

在文件 pprivate.h55 行定义.

◆ thread_data

VOID** _pthread_data::thread_data

在文件 pprivate.h64 行定义.


该结构体的文档由以下文件生成: