Home
last modified time | relevance | path

Searched refs:hotplug_handler (Results 1 – 3 of 3) sorted by relevance

/dflybsd-src/lib/libusb/
H A Dlibusb10_hotplug.c110 if (ctx->hotplug_handler != NO_THREAD) { in libusb_hotplug_scan()
193 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_register_callback()
194 if (pthread_create(&ctx->hotplug_handler, NULL, in libusb_hotplug_register_callback()
196 ctx->hotplug_handler = NO_THREAD; in libusb_hotplug_register_callback()
H A Dlibusb10.h97 pthread_t hotplug_handler; member
H A Dlibusb10.c154 ctx->hotplug_handler = NO_THREAD; in libusb_init()
194 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()
199 td = ctx->hotplug_handler; in libusb_exit()
200 ctx->hotplug_handler = NO_THREAD; in libusb_exit()