|
solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
|
Reader-writer spinlock structure. More...
#include <spinlock.h>
Public Member Functions | |
| _Atomic (int) state | |
Reader-writer spinlock structure.
Internal representation of the RW-spinlock. The state field tracks:
Definition at line 49 of file spinlock.h.
| fast_rwlock_t::_Atomic | ( | int | ) |
Lock state: >0 = reader count, 0 = unlocked, -1 = writer locked