Lines Matching full:mutex
58 Mutex Routines
232 .Ss Mutex Routines
238 Destroy a mutex attributes object.
243 Obtain priority ceiling attribute of mutex attribute object.
248 Obtain protocol attribute of mutex attribute object.
253 Obtain the mutex type attribute in the specified mutex attributes object.
258 Initialize a mutex attributes object with default values.
263 Set priority ceiling attribute of mutex attribute object.
268 Set protocol attribute of mutex attribute object.
273 Set the mutex type attribute that is used when a mutex is created.
276 .Fn pthread_mutex_destroy "pthread_mutex_t *mutex"
278 Destroy a mutex.
282 .Fa "pthread_mutex_t *mutex" "const pthread_mutexattr_t *attr"
285 Initialize a mutex with specified attributes.
288 .Fn pthread_mutex_lock "pthread_mutex_t *mutex"
290 Lock a mutex and block until it becomes available.
294 .Fa "pthread_mutex_t *mutex" "const struct timespec *abstime"
297 Lock a mutex and block until it becomes available or until the timeout expires.
300 .Fn pthread_mutex_trylock "pthread_mutex_t *mutex"
302 Try to lock a mutex, but do not block if the mutex is locked by another thread,
306 .Fn pthread_mutex_unlock "pthread_mutex_t *mutex"
308 Unlock a mutex.
345 .Fa "pthread_cond_t *cond" "pthread_mutex_t *mutex"
349 Unlock the specified mutex, wait no longer than the specified time for
350 a condition, and then relock the mutex.
353 .Fn pthread_cond_wait "pthread_cond_t *" "pthread_mutex_t *mutex"
355 Unlock the specified mutex, wait for a condition, and relock the mutex.