Home
last modified time | relevance | path

Searched refs:readwrite_lock_mutex (Results 1 – 2 of 2) sorted by relevance

/external/libcups/backend/
Dusb-libusb.c69 pthread_mutex_t readwrite_lock_mutex; member
252 pthread_mutex_init(&g.readwrite_lock_mutex, NULL); in print_device()
384 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
387 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
395 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
397 pthread_cond_wait(&g.readwrite_lock_cond, &g.readwrite_lock_mutex); in print_device()
399 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
558 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
561 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
1920 pthread_mutex_lock(&g.readwrite_lock_mutex); in soft_reset()
[all …]
Dusb-darwin.c224 pthread_mutex_t readwrite_lock_mutex; member
512 pthread_mutex_init(&g.readwrite_lock_mutex, NULL); in print_device()
607 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
610 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
618 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
620 pthread_cond_wait(&g.readwrite_lock_cond, &g.readwrite_lock_mutex); in print_device()
622 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
795 pthread_mutex_lock(&g.readwrite_lock_mutex); in print_device()
798 pthread_mutex_unlock(&g.readwrite_lock_mutex); in print_device()
2379 pthread_mutex_lock(&g.readwrite_lock_mutex); in soft_reset()
[all …]