Home | History | Annotate | Download | only in bits

Lines Matching refs:backend

338 /* Backend initialization functions */
374 /* Backend thread functions */
513 /* Backend mutex functions */
521 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
523 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
525 objc_free (mutex->backend);
526 mutex->backend = NULL;
549 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
555 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
558 objc_free (mutex->backend);
559 backend = NULL;
569 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
582 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
595 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
603 /* Backend condition mutex functions */
611 condition->backend = objc_malloc (sizeof (pthread_cond_t));
613 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
615 objc_free (condition->backend);
616 condition->backend = NULL;
630 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
633 objc_free (condition->backend);
634 condition->backend = NULL;
644 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
645 (pthread_mutex_t *) mutex->backend);
655 return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
665 return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);