Lines Matching refs:pthread_mutex_t
50 typedef pthread_mutex_t __gthread_mutex_t;
51 typedef pthread_mutex_t __gthread_recursive_mutex_t;
182 static pthread_mutex_t __gthread_active_mutex = PTHREAD_MUTEX_INITIALIZER; in __gthread_active_p()
531 mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); in __gthread_objc_mutex_allocate()
533 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL)) in __gthread_objc_mutex_allocate()
559 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend); in __gthread_objc_mutex_deallocate()
565 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend)) in __gthread_objc_mutex_deallocate()
579 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_lock()
592 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock()
605 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_unlock()
655 (pthread_mutex_t *) mutex->backend); in __gthread_objc_condition_wait()