Lines Matching refs:backend
341 /* Backend initialization functions */
377 /* Backend thread functions */
516 /* Backend mutex functions */
524 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
526 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
528 backend);
529 mutex->backend = NULL;
552 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
558 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
561 objc_free (mutex->backend);
562 mutex->backend = NULL;
572 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
585 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
598 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
606 /* Backend condition mutex functions */
614 condition->backend = objc_malloc (sizeof (pthread_cond_t));
616 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
618 objc_free (condition->backend);
619 condition->backend = NULL;
633 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
636 objc_free (condition->backend);
637 condition->backend = NULL;
647 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
648 (pthread_mutex_t *) mutex->backend);
658 return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
668 return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);