Searched refs:ctx_handler (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/lib/libusb/
H A Dlibusb10_io.c244 err = (ctx->ctx_handler != NO_THREAD);
248 ctx->ctx_handler = pthread_self();
258 if (ctx->ctx_handler == NO_THREAD)
259 ctx->ctx_handler = pthread_self();
266 if (ctx->ctx_handler == pthread_self()) {
267 ctx->ctx_handler = NO_THREAD;
277 return (ctx->ctx_handler == pthread_self());
284 return (ctx->ctx_handler != NO_THREAD);
314 if (ctx->ctx_handler == NO_THREAD)
315 ctx->ctx_handler
[all...]
H A Dlibusb10.h103 pthread_t ctx_handler; member in struct:libusb_context
H A Dlibusb10.c199 ctx->ctx_handler = NO_THREAD;

Completed in 89 milliseconds