upipe-pthread/umutex_pthread.h header reference
Upipe umutex implementation using pthread More
Header inclusion
Members
Function
- struct umutex * umutex_pthread_alloc(const pthread_mutexattr_t *mutexattr)
Description
Upipe umutex implementation using pthread
Members detail
This macro is declared in upipe-pthread/umutex_pthread.h source file, line 31.
struct umutex * umutex_pthread_alloc(const pthread_mutexattr_t *mutexattr)
This function is declared in upipe-pthread/umutex_pthread.h source file, line 46.
This function allocates a new umutex structure using pthread primitives.
Parameter list:
- mutexattr: pthread mutex attributes, or NULL
The return value is pointer to umutex, or NULL in case of error