Searched refs:hotplug_lock (Results 1 – 2 of 2) sorted by relevance
47 #define HOTPLUG_LOCK(ctx) pthread_mutex_lock(&(ctx)->hotplug_lock)48 #define HOTPLUG_UNLOCK(ctx) pthread_mutex_unlock(&(ctx)->hotplug_lock)105 pthread_mutex_t hotplug_lock; member
256 if (pthread_mutex_init(&ctx->hotplug_lock, NULL) != 0) { in libusb_init_context()263 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()269 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()276 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()289 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()347 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_exit()