Searched refs:g_usb_handles_mutex (Results 1 – 2 of 2) sorted by relevance
91 static auto& g_usb_handles_mutex = *new std::mutex(); variable95 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in is_known_device()107 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in kick_disconnected_devices()500 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()525 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()581 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()
74 static auto& g_usb_handles_mutex = *new std::mutex(); variable78 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in IsKnownDevice()92 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in KickDisconnectedDevices()104 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in AddDevice()549 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()581 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in usb_kick()