Searched refs:g_usb_handles_mutex (Results 1 – 2 of 2) sorted by relevance
75 static auto& g_usb_handles_mutex = *new std::mutex(); variable79 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in IsKnownDevice()93 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in KickDisconnectedDevices()105 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in AddDevice()599 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()631 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in usb_kick()
97 static auto& g_usb_handles_mutex = *new std::mutex(); variable101 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in is_known_device()113 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in kick_disconnected_devices()530 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()573 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()616 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()