Home
last modified time | relevance | path

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

/freebsd/lib/libusb/
H A Dlibusb10_hotplug.c251 * - libusb_exit has been called as it sets NO_THREAD in libusb_hotplug_deregister_callback()
270 if (ctx->hotplug_handler == NO_THREAD) {
367 if (ctx->hotplug_handler == NO_THREAD) {
372 ctx->hotplug_handler = NO_THREAD;
H A Dlibusb10_io.c253 err = (ctx->ctx_handler != NO_THREAD); in libusb_try_lock_events()
267 if (ctx->ctx_handler == NO_THREAD) in libusb_lock_events()
276 ctx->ctx_handler = NO_THREAD; in libusb_unlock_events()
293 return (ctx->ctx_handler != NO_THREAD); in libusb_event_handler_active()
323 if (ctx->ctx_handler == NO_THREAD) in libusb_wait_for_event()
344 if (ctx->ctx_handler == NO_THREAD) in libusb_wait_for_event()
H A Dlibusb10.h121 #define NO_THREAD ((pthread_t)-1)
105 #define NO_THREAD global() macro
H A Dlibusb10.c234 ctx->ctx_handler = NO_THREAD; in libusb_init_context()
235 ctx->hotplug_handler = NO_THREAD; in libusb_init_context()
277 if (ctx->hotplug_handler != NO_THREAD) { in libusb_exit()
283 ctx->hotplug_handler = NO_THREAD; in libusb_exit()