Home
last modified time | relevance | path

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

/freebsd/lib/libusb/
H A Dlibusb10_hotplug.c272 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_scan()
389 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_register_callback()
392 if (pthread_create(&ctx->hotplug_handler, NULL, in libusb_hotplug_register_callback()
394 ctx->hotplug_handler = NO_THREAD; in libusb_hotplug_register_callback()
H A Dlibusb10.h108 pthread_t hotplug_handler; member
H A Dlibusb10.c295 ctx->hotplug_handler = NO_THREAD; in libusb_init_context()
349 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()
354 td = ctx->hotplug_handler; in libusb_exit()
355 ctx->hotplug_handler = NO_THREAD; in libusb_exit()