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)106 pthread_mutex_t hotplug_lock; member
267 if (pthread_mutex_init(&ctx->hotplug_lock, NULL) != 0) { in libusb_init_context()274 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()280 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()287 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()300 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()315 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()374 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_exit()