Is your feature request related to a problem? Please describe.
The current implementation is not thread safe for shared interface across multiple objects. This is unlikely to pose a problem since most real-world implementations are one-python-object-per-interface.
Describe the solution you'd like
Consolidate send/read command into a single method at the interface level. Create a ThreadSafeInterface child class of the interface class that wraps this function in a mutex lock. Or, better: do this at the module level so that you can do:
from newscale.thread_safe_interfaces import M3USBInterface
Is your feature request related to a problem? Please describe. The current implementation is not thread safe for shared interface across multiple objects. This is unlikely to pose a problem since most real-world implementations are one-python-object-per-interface.
Describe the solution you'd like Consolidate send/read command into a single method at the interface level. Create a ThreadSafeInterface child class of the interface class that wraps this function in a mutex lock. Or, better: do this at the module level so that you can do: