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

A pthread spinlock. More...

#include <stk_c_pthread.h>

Collaboration diagram for pthread_spinlock_t:

Public Attributes

stk_spinlock_mem_t __mem
stk_spinlock_t__handle

Detailed Description

A pthread spinlock.

Note
Fields are considered private. Unlike the other pthread objects in this shim, spinlocks have no static-initializer macro (matching real POSIX) - pthread_spin_init() must be called before use.
See also
"pthread_spin_* recursion note" in the file-level docs.

Definition at line 310 of file stk_c_pthread.h.

Member Data Documentation

◆ __handle

stk_spinlock_t* pthread_spinlock_t::__handle

◆ __mem

stk_spinlock_mem_t pthread_spinlock_t::__mem

Definition at line 312 of file stk_c_pthread.h.

Referenced by pthread_spin_init().


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