diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2016-06-12 17:31:41 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2016-06-25 13:46:53 +0200 |
| commit | d3e2ae35ff853d115aca077eaa10b88114ef7c7c (patch) | |
| tree | ef48e2c922c685a99fbfe602b408623475092763 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | |
| parent | fd29e5c4cc26cd853a03ac7b0e08b367b7070c84 (diff) | |
ControllerInterface: Add synchronisation
Since we may have to add/access devices from different threads, this
adds synchronisation to anything that touches m_devices.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index 3d1354dcc7..2571e5f3ab 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -6,6 +6,7 @@ #include <algorithm> #include <map> +#include <mutex> #include <sstream> #include <string> #include <vector> |
