Searched refs:read_thread_mutex (Results 1 – 2 of 2) sorted by relevance
/external/libcups/backend/ |
D | usb-libusb.c | 64 pthread_mutex_t read_thread_mutex; member 316 pthread_mutex_init(&g.read_thread_mutex, NULL); in print_device() 592 pthread_mutex_lock(&g.read_thread_mutex); in print_device() 604 if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, in print_device() 627 if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, in print_device() 634 pthread_mutex_unlock(&g.read_thread_mutex); in print_device() 1760 pthread_mutex_lock(&g.read_thread_mutex); in read_thread() 1763 pthread_mutex_unlock(&g.read_thread_mutex); in read_thread()
|
D | usb-darwin.c | 219 pthread_mutex_t read_thread_mutex; member 543 pthread_mutex_init(&g.read_thread_mutex, NULL); in print_device() 827 pthread_mutex_lock(&g.read_thread_mutex); in print_device() 839 if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, in print_device() 863 if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, in print_device() 870 pthread_mutex_unlock(&g.read_thread_mutex); in print_device() 987 pthread_mutex_lock(&g.read_thread_mutex); in read_thread() 990 pthread_mutex_unlock(&g.read_thread_mutex); in read_thread()
|