Searched refs:events_lock (Results 1 – 4 of 4) sorted by relevance
1139 usbi_mutex_init_recursive(&ctx->events_lock, NULL); in usbi_io_init()1182 usbi_mutex_destroy(&ctx->events_lock); in usbi_io_init()1202 usbi_mutex_destroy(&ctx->events_lock); in usbi_io_exit()1630 r = usbi_mutex_trylock(&ctx->events_lock); in libusb_try_lock_events()1659 usbi_mutex_lock(&ctx->events_lock); in libusb_lock_events()1675 usbi_mutex_unlock(&ctx->events_lock); in libusb_unlock_events()
290 usbi_mutex_t events_lock; member
1011 pthread_mutex_init(&ctx->events_lock, NULL); in usbi_io_init()1461 r = pthread_mutex_trylock(&ctx->events_lock); in libusb_try_lock_events()1490 pthread_mutex_lock(&ctx->events_lock); in libusb_lock_events()1506 pthread_mutex_unlock(&ctx->events_lock); in libusb_unlock_events()
181 pthread_mutex_t events_lock; member