Reduce core timing mutex contention

This commit is contained in:
Kelebek1
2023-09-19 22:06:49 +01:00
parent df56ecc318
commit 8992a62da4
3 changed files with 11 additions and 6 deletions

View File

@ -603,6 +603,8 @@ private:
mutable std::mutex mutex;
mutable std::mutex callback_mutex;
mutable std::mutex npad_mutex;
mutable std::mutex connect_mutex;
std::unordered_map<int, ControllerUpdateCallback> callback_list;
int last_callback_key = 0;