SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
pthread_attr_t Struct Reference

Thread creation attributes. More...

#include <stk_c_pthread.h>

Public Attributes

size_t __stack_bytes
stk_word_t__ext_stack
int __detachstate

Detailed Description

Thread creation attributes.

Note
Fields are considered private; use the pthread_attr_* accessors.

Definition at line 219 of file stk_c_pthread.h.

Member Data Documentation

◆ __detachstate

int pthread_attr_t::__detachstate

PTHREAD_CREATE_JOINABLE / _DETACHED.

Definition at line 223 of file stk_c_pthread.h.

Referenced by pthread_attr_getdetachstate(), pthread_attr_init(), pthread_attr_setdetachstate(), and pthread_create().

◆ __ext_stack

stk_word_t* pthread_attr_t::__ext_stack

Caller-supplied stack, or NULL.

Definition at line 222 of file stk_c_pthread.h.

Referenced by pthread_attr_getstack(), pthread_attr_init(), pthread_attr_setstack(), and pthread_create().

◆ __stack_bytes

size_t pthread_attr_t::__stack_bytes

0 = use STK_C_PTHREAD_DEFAULT_STACK_WORDS.

Definition at line 221 of file stk_c_pthread.h.

Referenced by pthread_attr_getstack(), pthread_attr_getstacksize(), pthread_attr_init(), pthread_attr_setstack(), pthread_attr_setstacksize(), and pthread_create().


The documentation for this struct was generated from the following file: