Closed klues closed 6 years ago
see comments of https://github.com/asterics/AsTeRICS-Ergo/issues/21#issuecomment-335922915
In PCSDevice.java https://github.com/asterics/AsTeRICS/blob/e21e2b553cab77121ee0c4e1e36338d2ee78bf74/ARE/components/actuator.fs20sender/src/main/java/eu/asterics/component/actuator/fS20Sender/PCSDevice.java#L107 it is possible that the hid-device is used by several threads at the same time. This should be avoided, because it can lead to crashes in native libs.
Solution: Change implementation in order to ensure the hid-device is only used by one thread at a time.
fixed with https://github.com/asterics/AsTeRICS/pull/199
see comments of https://github.com/asterics/AsTeRICS-Ergo/issues/21#issuecomment-335922915
In PCSDevice.java https://github.com/asterics/AsTeRICS/blob/e21e2b553cab77121ee0c4e1e36338d2ee78bf74/ARE/components/actuator.fs20sender/src/main/java/eu/asterics/component/actuator/fS20Sender/PCSDevice.java#L107 it is possible that the hid-device is used by several threads at the same time. This should be avoided, because it can lead to crashes in native libs.
Solution: Change implementation in order to ensure the hid-device is only used by one thread at a time.