Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_common.c453 char mutex_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in windows_init() local
458 sprintf(mutex_name, "libusb_init%08lX", ULONG_CAST(GetCurrentProcessId() & 0xFFFFFFFFU)); in windows_init()
459 mutex = CreateMutexA(NULL, FALSE, mutex_name); in windows_init()
549 char mutex_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in windows_exit() local
552 sprintf(mutex_name, "libusb_init%08lX", ULONG_CAST(GetCurrentProcessId() & 0xFFFFFFFFU)); in windows_exit()
553 mutex = CreateMutexA(NULL, FALSE, mutex_name); in windows_exit()