Searched refs:hotplug_handler (Results 1 – 3 of 3) sorted by relevance
124 if (ctx->hotplug_handler != NO_THREAD) { in libusb_hotplug_scan()203 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_register_callback()206 if (pthread_create(&ctx->hotplug_handler, NULL, in libusb_hotplug_register_callback()208 ctx->hotplug_handler = NO_THREAD; in libusb_hotplug_register_callback()
103 pthread_t hotplug_handler; member
234 ctx->hotplug_handler = NO_THREAD; in libusb_init_context()276 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()281 td = ctx->hotplug_handler; in libusb_exit()282 ctx->hotplug_handler = NO_THREAD; in libusb_exit()