Searched refs:close_thread_mutex (Results 1 – 1 of 1) sorted by relevance
62 static pthread_mutex_t close_thread_mutex = PTHREAD_MUTEX_INITIALIZER; variable582 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Init()585 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Init()599 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Init()962 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Open()965 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Open()1122 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Open()1250 pthread_mutex_lock(&close_thread_mutex); in USERIAL_Write()1275 pthread_mutex_unlock(&close_thread_mutex); in USERIAL_Write()1467 if (pthread_mutex_trylock(&close_thread_mutex) == 0) in USERIAL_Close()[all …]