Lines Matching refs:backend
420 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
422 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
424 objc_free (mutex->backend);
425 mutex->backend = NULL;
448 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
454 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
457 objc_free (mutex->backend);
458 mutex->backend = NULL;
468 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
481 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
494 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
510 condition->backend = objc_malloc (sizeof (pthread_cond_t));
512 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
514 objc_free (condition->backend);
515 condition->backend = NULL;
529 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
532 objc_free (condition->backend);
533 condition->backend = NULL;
543 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
544 (pthread_mutex_t *) mutex->backend);
554 return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
564 return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);