smtx_unlock(3) | Library Functions Manual | smtx_unlock(3) |
NAME
smtx_unlock
—
unlock a previously acquired spinlock.
SYNOPSIS
library “threads”
#include <threadse.h>
int
smtx_unlock
(smtx_t
*s);
DESCRIPTION
The function
smtx_unlock
()
will unlock a previously acquired spinlock s.
RETURN VALUES
Upon success smtx_unlock
() will return
thrd_success. In case of error
thrd_error will be returned.
SEE ALSO
HISTORY
The smtx_unlock
() function first appeared
in the Adelsbach Enhanced Threading Library.
AUTHORS
Jan Adelsbach <jan@jadelsbach.de>
May 9, 2020 | Debian |