-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_RWLockCreate
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Create an MTY_RWLock
that allows concurrent read access.
An MTY_RWLock
allows recursive locking from readers, and will prioritize writers when they are waiting.
MTY_RWLock *MTY_RWLockCreate(void);
MTY_RWLock *
This function can not return NULL
. It will call abort()
on failure.
The returned MTY_RWLock
must be destroyed with MTY_RWLockDestroy
.