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_barrier_t Struct Reference

A pthread barrier. More...

#include <stk_c_pthread.h>

Collaboration diagram for pthread_barrier_t:

Public Attributes

stk_barrier_mem_t __mem
 In-place storage for the STK barrier object.
void * __handle
 Object constructed in __mem, or NULL if not yet constructed.

Detailed Description

A pthread barrier.

Note
Fields are considered private. No static-initializer macro (matching real POSIX) - pthread_barrier_init() must be called before use, since it is where the trip count is supplied.

Definition at line 407 of file stk_c_pthread.h.

Member Data Documentation

◆ __handle

void* pthread_barrier_t::__handle

Object constructed in __mem, or NULL if not yet constructed.

Definition at line 410 of file stk_c_pthread.h.

Referenced by stk::pthread::HandleOf(), pthread_barrier_destroy(), pthread_barrier_init(), and pthread_barrier_wait().

◆ __mem

stk_barrier_mem_t pthread_barrier_t::__mem

In-place storage for the STK barrier object.

Definition at line 409 of file stk_c_pthread.h.

Referenced by pthread_barrier_init().


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