Skip to content

struct osThreadAttr_t ​

Attributes structure for thread. #include <kernel/cmsis_os2.h>

Public Attributes ​

Name
const char *name
name of the thread
uint32_tattr_bits
attribute bits
void *cb_mem
memory for control block
uint32_tcb_size
size of provided memory for control block
void *stack_mem
memory for stack
uint32_tstack_size
size of stack
osPriority_tpriority
initial thread priority (default: osPriorityNormal)
TZ_ModuleId_ttz_module
TrustZone module identifier.
uint32_treserved
reserved (must be 0)

Public Attributes Documentation ​

variable name ​

cpp
const char* osThreadAttr_t::name

name of the thread

variable attr_bits ​

cpp
uint32_t osThreadAttr_t::attr_bits

attribute bits

variable cb_mem ​

cpp
void* osThreadAttr_t::cb_mem

memory for control block

variable cb_size ​

cpp
uint32_t osThreadAttr_t::cb_size

size of provided memory for control block

variable stack_mem ​

cpp
void* osThreadAttr_t::stack_mem

memory for stack

variable stack_size ​

cpp
uint32_t osThreadAttr_t::stack_size

size of stack

variable priority ​

cpp
osPriority_t osThreadAttr_t::priority

initial thread priority (default: osPriorityNormal)

variable tz_module ​

cpp
TZ_ModuleId_t osThreadAttr_t::tz_module

TrustZone module identifier.

variable reserved ​

cpp
uint32_t osThreadAttr_t::reserved

reserved (must be 0)