Home
last modified time | relevance | path

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

/external/libusb/libusb/
Dio.c1012 pthread_mutex_init(&ctx->event_waiters_lock, NULL); in usbi_io_init()
1403 pthread_mutex_lock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion()
1405 pthread_mutex_unlock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion()
1511 pthread_mutex_lock(&ctx->event_waiters_lock); in libusb_unlock_events()
1513 pthread_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_events()
1605 pthread_mutex_lock(&ctx->event_waiters_lock); in libusb_lock_event_waiters()
1616 pthread_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_event_waiters()
1651 pthread_cond_wait(&ctx->event_waiters_cond, &ctx->event_waiters_lock); in libusb_wait_for_event()
1669 &ctx->event_waiters_lock, &timeout); in libusb_wait_for_event()
Dlibusbi.h188 pthread_mutex_t event_waiters_lock; member