Adelsbach Enhanced Threading Library

Manual Pages (DD-00013-001)

Enhanced Threading Library > rwmtx_unlock (3)
HTML TXT PDF PS
rwmtx_unlock(3) Library Functions Manual rwmtx_unlock(3)

rwmtx_unlockunlock a previously acquired read or write lock.

library “threads”
#include <threadse.h>

int
rwmtx_unlock(rwmtx_t *rw);

The function () will unlock a previously acquired read or write lock rw.

Upon success rwmtx_unlock() will return thrd_success. In case of error thrd_error will be returned.

rwmtx_init(3) rwmtx_destroy(3) rwmtx_rdlock(3) rwmtx_wrlock(3) rwmtx_tryrdlock(3) rwmtx_trywrlock(3) rwmtx_timedrdlock(3) rwmtx_timedwrlock(3)

The rwmtx_unlock() function first appeared in the Adelsbach Enhanced Threading Library.

Jan Adelsbach <jan@jadelsbach.de>

May 9, 2020 Debian