Searched refs:mutexp (Results 1 – 2 of 2) sorted by relevance
664 MUTEX_T mutexp; in tsrm_mutex_alloc() local669 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc()670 pth_mutex_init(mutexp); in tsrm_mutex_alloc()675 mutexp = st_mutex_new(); in tsrm_mutex_alloc()680 return( mutexp ); in tsrm_mutex_alloc()687 if (mutexp) { in tsrm_mutex_free()690 free(mutexp); in tsrm_mutex_free()692 free(mutexp); in tsrm_mutex_free()695 free(mutexp); in tsrm_mutex_free()697 st_mutex_destroy(mutexp); in tsrm_mutex_free()[all …]
135 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);136 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);137 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
Completed in 8 milliseconds