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

/freebsd-11-stable/lib/libusb/
H A Dlibusb10_hotplug.c125 if (ctx->hotplug_handler != NO_THREAD) {
204 if (ctx->hotplug_handler == NO_THREAD) {
209 ctx->hotplug_handler = NO_THREAD;
H A Dlibusb10_io.c244 err = (ctx->ctx_handler != NO_THREAD);
258 if (ctx->ctx_handler == NO_THREAD)
267 ctx->ctx_handler = NO_THREAD;
284 return (ctx->ctx_handler != NO_THREAD);
314 if (ctx->ctx_handler == NO_THREAD)
335 if (ctx->ctx_handler == NO_THREAD)
H A Dlibusb10.h104 #define NO_THREAD ((pthread_t)-1) macro
H A Dlibusb10.c199 ctx->ctx_handler = NO_THREAD;
200 ctx->hotplug_handler = NO_THREAD;
240 if (ctx->hotplug_handler != NO_THREAD) {
246 ctx->hotplug_handler = NO_THREAD;

Completed in 171 milliseconds