Function rdwrl_init
Defined in File rdwrlock.h
Function Documentation
- struct rdwrlock * rdwrl_init (struct rdwrlock *const rdwr_in, uint32_t flags) RCSW_WUR
Initialize a reader/writer fair lock.
- Parameters:
rdwr_in – Lock to initialize. Can be NULL if RCSW_NOALLOC_HANDLE passed.
flags – Configuration flags
- Returns:
The initialized RDWR lock, or NULL if an ERROR occurred.