Home
last modified time | relevance | path

Searched refs:NO_THREAD (Results 1 – 4 of 4) sorted by relevance

/dragonfly/lib/libusb/
HDlibusb10_hotplug.c110 if (ctx->hotplug_handler != NO_THREAD) { in libusb_hotplug_scan()
193 if (ctx->hotplug_handler == NO_THREAD) { in libusb_hotplug_register_callback()
196 ctx->hotplug_handler = NO_THREAD; in libusb_hotplug_register_callback()
HDlibusb10_io.c244 err = (ctx->ctx_handler != NO_THREAD); in libusb_try_lock_events()
258 if (ctx->ctx_handler == NO_THREAD) in libusb_lock_events()
267 ctx->ctx_handler = NO_THREAD; in libusb_unlock_events()
284 return (ctx->ctx_handler != NO_THREAD); in libusb_event_handler_active()
HDlibusb10.h99 #define NO_THREAD ((pthread_t)-1) macro
HDlibusb10.c153 ctx->ctx_handler = NO_THREAD; in libusb_init()
154 ctx->hotplug_handler = NO_THREAD; in libusb_init()
194 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()
200 ctx->hotplug_handler = NO_THREAD; in libusb_exit()