Searched refs:mutex_interface (Results 1 – 1 of 1) sorted by relevance
497 static inline pthread_mutex_internal_t* __get_internal_mutex(pthread_mutex_t* mutex_interface) { in __get_internal_mutex() argument498 return reinterpret_cast<pthread_mutex_internal_t*>(mutex_interface); in __get_internal_mutex()501 int pthread_mutex_init(pthread_mutex_t* mutex_interface, const pthread_mutexattr_t* attr) { in pthread_mutex_init() argument502 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_init()808 int pthread_mutex_lock(pthread_mutex_t* mutex_interface) { in pthread_mutex_lock() argument813 if (mutex_interface == nullptr) { in pthread_mutex_lock()818 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_lock()837 return HandleUsingDestroyedMutex(mutex_interface, __FUNCTION__); in pthread_mutex_lock()842 int pthread_mutex_unlock(pthread_mutex_t* mutex_interface) { in pthread_mutex_unlock() argument847 if (mutex_interface == nullptr) { in pthread_mutex_unlock()[all …]