Home
last modified time | relevance | path

Searched refs:mutex_interface (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dpthread_mutex.cpp234 static inline pthread_mutex_internal_t* __get_internal_mutex(pthread_mutex_t* mutex_interface) { in __get_internal_mutex() argument
235 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() argument
239 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() argument
505 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() argument
526 if (mutex_interface == NULL) { in pthread_mutex_unlock()
531 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_unlock()
[all …]