Searched refs:event_waiters_lock (Results 1 – 4 of 4) sorted by relevance
1140 usbi_mutex_init(&ctx->event_waiters_lock, NULL); in usbi_io_init()1183 usbi_mutex_destroy(&ctx->event_waiters_lock); in usbi_io_init()1203 usbi_mutex_destroy(&ctx->event_waiters_lock); in usbi_io_exit()1572 usbi_mutex_lock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion()1574 usbi_mutex_unlock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion()1680 usbi_mutex_lock(&ctx->event_waiters_lock); in libusb_unlock_events()1682 usbi_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_events()1774 usbi_mutex_lock(&ctx->event_waiters_lock); in libusb_lock_event_waiters()1785 usbi_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_event_waiters()1820 usbi_cond_wait(&ctx->event_waiters_cond, &ctx->event_waiters_lock); in libusb_wait_for_event()[all …]
297 usbi_mutex_t event_waiters_lock; member
1012 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()
188 pthread_mutex_t event_waiters_lock; member