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
 0 = use STK_C_PTHREAD_DEFAULT_STACK_WORDS.
stk_word_t * __ext_stack
 Caller-supplied stack, or NULL.
int __detachstate
 PTHREAD_CREATE_JOINABLE / _DETACHED.
int __privileged
 PTHREAD_CREATE_USER_NP (default) / _PRIVILEGED_NP.

Detailed Description

Thread creation attributes.

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

Definition at line 278 of file stk_c_pthread.h.

Member Data Documentation

◆ __detachstate

int pthread_attr_t::__detachstate

PTHREAD_CREATE_JOINABLE / _DETACHED.

Definition at line 282 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 281 of file stk_c_pthread.h.

Referenced by stk::pthread::AllocateStack(), pthread_attr_getstack(), pthread_attr_init(), and pthread_attr_setstack().

◆ __privileged

int pthread_attr_t::__privileged

PTHREAD_CREATE_USER_NP (default) / _PRIVILEGED_NP.

Definition at line 283 of file stk_c_pthread.h.

Referenced by pthread_attr_getprivileged_np(), pthread_attr_init(), pthread_attr_setprivileged_np(), and pthread_create().

◆ __stack_bytes

size_t pthread_attr_t::__stack_bytes

0 = use STK_C_PTHREAD_DEFAULT_STACK_WORDS.

Definition at line 280 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: