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

A pthread condition variable. More...

#include <stk_c_pthread.h>

Collaboration diagram for pthread_cond_t:

Public Attributes

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

Detailed Description

A pthread condition variable.

Note
Fields are considered private. May be statically initialized with PTHREAD_COND_INITIALIZER, in which case the underlying STK condition variable is created lazily on first use.
Examples
blinky_c-pthread/example.c.

Definition at line 498 of file stk_c_pthread.h.

Member Data Documentation

◆ __handle

void* pthread_cond_t::__handle

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

Definition at line 501 of file stk_c_pthread.h.

Referenced by stk::pthread::EnsureCond(), stk::pthread::HandleOf(), pthread_cond_destroy(), and pthread_cond_init().

◆ __mem

pthread_stk_cv_mem_t pthread_cond_t::__mem

In-place storage for the STK condition variable object.

Definition at line 500 of file stk_c_pthread.h.

Referenced by stk::pthread::EnsureCond(), and pthread_cond_init().


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