Merge pull request #2199 from skidau/remove-controls-lock

Cleaned up the controller locking mechanism
This commit is contained in:
Matthew Parlane
2015-04-21 11:13:30 +12:00
8 changed files with 0 additions and 41 deletions

View File

@ -134,8 +134,6 @@ void ControllerInterface::Shutdown()
//
void ControllerInterface::UpdateInput()
{
std::unique_lock<std::recursive_mutex> lk(update_lock, std::defer_lock);
for (ciface::Core::Device* d : m_devices)
d->UpdateInput();
}

View File

@ -122,8 +122,6 @@ public:
void UpdateReference(ControlReference* control, const ciface::Core::DeviceQualifier& default_device) const;
void UpdateInput();
std::recursive_mutex update_lock;
private:
bool m_is_init;
void* m_hwnd;