Device: Make IO system thread-safe

This commit is contained in:
Paul Hollinsky
2021-04-21 10:04:25 -04:00
parent 3b6b4f0541
commit 92589c2ce7
8 changed files with 10 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ protected:
int messagePollingCallbackID = 0;
int internalHandlerCallbackID = 0;
device_eventhandler_t report;
std::mutex ioMutex;
optional<bool> ethActivationStatus;
optional<bool> usbHostPowerStatus;
optional<bool> backupPowerEnabled;