| Defined in header |
int mtx_unlock( mtx_t *mutex );
Unlocks the mutex pointed to by
The behavior is undefined if the mutex is not locked by the calling thread.
This function synchronizes-with subsequent
mtx_timedlock on the same mutex. All lock/unlock operations on any given mutex form a single total order (similar to the modification order of an atomic).
|mutex||-||pointer to the mutex to unlock|
| blocks until locks a mutex
| blocks until locks a mutex or times out
| locks a mutex or returns without blocking if already locked
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.