Searched refs:ctx_handler (Results 1 – 4 of 4) sorted by relevance
253 err = (ctx->ctx_handler != NO_THREAD); in libusb_try_lock_events()257 ctx->ctx_handler = pthread_self(); in libusb_try_lock_events()267 if (ctx->ctx_handler == NO_THREAD) in libusb_lock_events()268 ctx->ctx_handler = pthread_self(); in libusb_lock_events()275 if (ctx->ctx_handler == pthread_self()) { in libusb_unlock_events()276 ctx->ctx_handler = NO_THREAD; in libusb_unlock_events()286 return (ctx->ctx_handler == pthread_self()); in libusb_event_handling_ok()293 return (ctx->ctx_handler != NO_THREAD); in libusb_event_handler_active()323 if (ctx->ctx_handler == NO_THREAD) in libusb_wait_for_event()324 ctx->ctx_handler = pthread_self(); in libusb_wait_for_event()[all …]
108 pthread_t ctx_handler; member
283 ctx->ctx_handler = NO_THREAD; in libusb_init_context()
175 ucl_context_macro_handler ctx_handler; member501 else if (std::get<1>(macro).ctx_handler != NULL) {504 std::get<1>(macro).ctx_handler,547 else if (std::get<1>(macro).ctx_handler != NULL) {550 std::get<1>(macro).ctx_handler,