Searched refs:mutex_interface (Results 1 – 1 of 1) sorted by relevance
234 static inline pthread_mutex_internal_t* __get_internal_mutex(pthread_mutex_t* mutex_interface) { in __get_internal_mutex() argument235 return reinterpret_cast<pthread_mutex_internal_t*>(mutex_interface); in __get_internal_mutex()238 int pthread_mutex_init(pthread_mutex_t* mutex_interface, const pthread_mutexattr_t* attr) { in pthread_mutex_init() argument239 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_init()503 int pthread_mutex_lock(pthread_mutex_t* mutex_interface) { in pthread_mutex_lock() argument505 if (mutex_interface == NULL) { in pthread_mutex_lock()510 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_lock()524 int pthread_mutex_unlock(pthread_mutex_t* mutex_interface) { in pthread_mutex_unlock() argument526 if (mutex_interface == NULL) { in pthread_mutex_unlock()531 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_unlock()[all …]