Searched refs:hotplug_handler (Results 1 – 3 of 3) sorted by relevance
125 if (ctx->hotplug_handler != NO_THREAD) { in libusb_hotplug_scan()202 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_register_callback()205 if (pthread_create(&ctx->hotplug_handler, NULL, in libusb_hotplug_register_callback()207 ctx->hotplug_handler = NO_THREAD; in libusb_hotplug_register_callback()
104 pthread_t hotplug_handler; member
187 ctx->hotplug_handler = NO_THREAD; in libusb_init()227 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()232 td = ctx->hotplug_handler; in libusb_exit()233 ctx->hotplug_handler = NO_THREAD; in libusb_exit()