The pthread_mutex_unlock function

Name

pthread_mutex_unlock -- 

Synopsis

#include <pthread.h>

int pthread_mutex_unlock (pthread_mutex_t *mutex);

Description

The pthread_mutex_unlock function unlocks the given mutex.

Returns

The pthread_mutex_unlock function returns zero if the call is successful, otherwise it sets errno to EINVAL and returns -1.

Implementation Notes

None