Searched refs:mutex_name (Results 1 – 1 of 1) sorted by relevance
453 char mutex_name[11 + 8 + 1]; // strlen("libusb_init") + (32-bit hex PID) + '\0' in windows_init() local458 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() local552 sprintf(mutex_name, "libusb_init%08lX", ULONG_CAST(GetCurrentProcessId() & 0xFFFFFFFFU)); in windows_exit()553 mutex = CreateMutexA(NULL, FALSE, mutex_name); in windows_exit()