Home
last modified time | relevance | path

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

/dflybsd-src/lib/libusb/
H A Dlibusb10_io.c244 err = (ctx->ctx_handler != NO_THREAD); in libusb_try_lock_events()
248 ctx->ctx_handler = pthread_self(); in libusb_try_lock_events()
258 if (ctx->ctx_handler == NO_THREAD) in libusb_lock_events()
259 ctx->ctx_handler = pthread_self(); in libusb_lock_events()
266 if (ctx->ctx_handler == pthread_self()) { in libusb_unlock_events()
267 ctx->ctx_handler = NO_THREAD; in libusb_unlock_events()
277 return (ctx->ctx_handler == pthread_self()); in libusb_event_handling_ok()
284 return (ctx->ctx_handler != NO_THREAD); in libusb_event_handler_active()
H A Dlibusb10.h98 pthread_t ctx_handler; member
H A Dlibusb10.c153 ctx->ctx_handler = NO_THREAD; in libusb_init()