mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
ControllerInterface: Remove OSX window handle
also make it more thread safe (avoid rare deadlock) and fix it trying to add devices before the CI has init
This commit is contained in:
parent
2376aec135
commit
c238e49119
4 changed files with 29 additions and 22 deletions
|
@ -116,6 +116,7 @@ private:
|
|||
|
||||
std::list<std::function<void()>> m_devices_changed_callbacks;
|
||||
mutable std::recursive_mutex m_devices_population_mutex;
|
||||
mutable std::mutex m_pre_population_mutex;
|
||||
mutable std::mutex m_callbacks_mutex;
|
||||
std::atomic<bool> m_is_init;
|
||||
// This is now always protected by m_devices_population_mutex, so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue