Lines Matching defs:mutexp
50 static void adutils_mutex_free(void *mutexp);
122 pthread_mutex_t *mutexp;
125 mutexp = malloc(sizeof (pthread_mutex_t));
126 if (mutexp == NULL) {
133 rc = pthread_mutex_init(mutexp, NULL);
139 free(mutexp);
142 return (mutexp);
150 adutils_mutex_free(void *mutexp)
152 (void) pthread_mutex_destroy((pthread_mutex_t *)mutexp);
153 free(mutexp);