Function mutex_init
Defined in File mutex.h
Function Documentation
-
struct mutex *mutex_init(struct mutex *mutex_in, uint32_t flags)
Initialize a mutex.
- Parameters:
mutex_in – The mutex to initialize. Can be NULL if RCSW_NOALLOC_HANDLE is not passed.
flags – Configuration flags. See mutex::flags for valid flags.
- Returns:
The initialized mutex, or NULL if an ERROR occurred.