Searched refs:close_thread_mutex (Results 1 – 1 of 1) sorted by relevance
63 static pthread_mutex_t close_thread_mutex = PTHREAD_MUTEX_INITIALIZER; variable572 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Init()574 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Init()587 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Init()933 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Open()935 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Open()1085 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Open()1205 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Write()1227 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Write()1416 if (pthread_mutex_trylock(&close_thread_mutex) == 0) { in USERIAL_Close()[all …]