Lines Matching refs:pthread_mutex_t
56 typedef pthread_mutex_t __gthread_mutex_t;
57 typedef pthread_mutex_t __gthread_recursive_mutex_t;
226 static pthread_mutex_t __gthread_active_mutex = PTHREAD_MUTEX_INITIALIZER; in __gthread_active_p()
526 mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); in __gthread_objc_mutex_allocate()
528 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL)) in __gthread_objc_mutex_allocate()
554 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend); in __gthread_objc_mutex_deallocate()
560 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend)) in __gthread_objc_mutex_deallocate()
574 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_lock()
587 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock()
600 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_unlock()
650 (pthread_mutex_t *) mutex->backend); in __gthread_objc_condition_wait()