|
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
A pthread read-write lock. More...
#include <stk_c_pthread.h>
Public Attributes | |
| stk_rwmutex_mem_t | __mem |
| In-place storage for the STK rwmutex object. | |
| void * | __handle |
| Object constructed in __mem, or NULL if not yet constructed. | |
| volatile bool | __wrlocked |
| True while held for writing; selects Unlock() vs ReadUnlock() on release. | |
A pthread read-write lock.
Definition at line 369 of file stk_c_pthread.h.
| void* pthread_rwlock_t::__handle |
Object constructed in __mem, or NULL if not yet constructed.
Definition at line 372 of file stk_c_pthread.h.
Referenced by stk::pthread::EnsureRWLock(), stk::pthread::HandleOf(), pthread_rwlock_destroy(), pthread_rwlock_init(), and pthread_rwlock_unlock().
| stk_rwmutex_mem_t pthread_rwlock_t::__mem |
In-place storage for the STK rwmutex object.
Definition at line 371 of file stk_c_pthread.h.
Referenced by stk::pthread::EnsureRWLock(), and pthread_rwlock_init().
| volatile bool pthread_rwlock_t::__wrlocked |
True while held for writing; selects Unlock() vs ReadUnlock() on release.
Definition at line 373 of file stk_c_pthread.h.
Referenced by pthread_rwlock_init(), pthread_rwlock_timedwrlock(), pthread_rwlock_trywrlock(), pthread_rwlock_unlock(), and pthread_rwlock_wrlock().