Searched refs:mutexp (Results 1 – 2 of 2) sorted by relevance
598 MUTEX_T mutexp; in tsrm_mutex_alloc() local603 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc()604 pth_mutex_init(mutexp); in tsrm_mutex_alloc()609 mutexp = st_mutex_new(); in tsrm_mutex_alloc()614 return( mutexp ); in tsrm_mutex_alloc()621 if (mutexp) { in tsrm_mutex_free()624 free(mutexp); in tsrm_mutex_free()626 free(mutexp); in tsrm_mutex_free()629 free(mutexp); in tsrm_mutex_free()631 st_mutex_destroy(mutexp); in tsrm_mutex_free()[all …]
127 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);128 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);129 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
Completed in 8 milliseconds