Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libusb/
H A Dlibusb10_io.c254 err = (ctx->ctx_handler != NO_THREAD); in libusb_try_lock_events()
258 ctx->ctx_handler = pthread_self(); in libusb_try_lock_events()
268 if (ctx->ctx_handler == NO_THREAD) in libusb_lock_events()
269 ctx->ctx_handler = pthread_self(); in libusb_lock_events()
276 if (ctx->ctx_handler == pthread_self()) { in libusb_unlock_events()
277 ctx->ctx_handler = NO_THREAD; in libusb_unlock_events()
294 return (ctx->ctx_handler != NO_THREAD); in libusb_event_handler_active()
324 if (ctx->ctx_handler == NO_THREAD) in libusb_wait_for_event()
325 ctx->ctx_handler = pthread_self(); in libusb_wait_for_event()
345 if (ctx->ctx_handler == NO_THREAD) in libusb_wait_for_event()
[all …]
H A Dlibusb10.h105 pthread_t ctx_handler; member
H A Dlibusb10.c202 ctx->ctx_handler = NO_THREAD; in libusb_init()
/freebsd-13.1/contrib/libucl/include/
H A Ducl++.h175 ucl_context_macro_handler ctx_handler; member
496 else if (std::get<1>(macro).ctx_handler != NULL) {
499 std::get<1>(macro).ctx_handler,
542 else if (std::get<1>(macro).ctx_handler != NULL) {
545 std::get<1>(macro).ctx_handler,