Home
last modified time | relevance | path

Searched refs:hotplug_lock (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/lib/libusb/
H A Dlibusb10.h40 #define HOTPLUG_LOCK(ctx) pthread_mutex_lock(&(ctx)->hotplug_lock)
41 #define HOTPLUG_UNLOCK(ctx) pthread_mutex_unlock(&(ctx)->hotplug_lock)
101 pthread_mutex_t hotplug_lock; member
H A Dlibusb10.c206 if (pthread_mutex_init(&ctx->hotplug_lock, NULL) != 0) { in libusb_init_context()
213 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()
219 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()
226 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()
239 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_init_context()
294 pthread_mutex_destroy(&ctx->hotplug_lock); in libusb_exit()