Home | History | Annotate | Download | only in bits

Lines Matching refs:backend

365 /* Backend initialization functions */
401 /* Backend thread functions */
539 /* Backend mutex functions */
547 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
549 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
551 objc_free (mutex->backend);
552 mutex->backend = NULL;
575 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
581 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
584 objc_free (mutex->backend);
585 mutex->backend = NULL;
595 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
608 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
621 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
629 /* Backend condition mutex functions */
637 condition->backend = objc_malloc (sizeof (pthread_cond_t));
639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
641 objc_free (condition->backend);
642 condition->backend = NULL;
656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
659 objc_free (condition->backend);
660 condition->backend = NULL;
670 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
671 (pthread_mutex_t *) mutex->backend);
681 return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
691 return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);