You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With my understanding of how the GIL and python threads work, I think two threads on the same process actually can't run in parallel. Since the properties in the devices are assigned to more or less atomically, I think it's fine in most cases. Furthermore, the information flow is pretty one directional, as long as the user knows to never write to a device's property. I could be misunderstanding things though. If problems arise in the future I can add a lock to devices to access its properties.
Can I use the objects in the
devices
module from two threads simultaneouslyThe text was updated successfully, but these errors were encountered: