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
Thread safety is in idelib is minimal and inconsistent. It's not (yet?) a serious problem, but it could be in the future. Some handing of race conditions was added to address specific problems, but it's a hack. Use a threading.RLock around adding/ending a Session, updating/using Transforms, appending/accessing EventArray data, etc. Also consider making some flag variables (like Dataset.loading) properties that get/set a threading.Event.
The text was updated successfully, but these errors were encountered:
Note: Some of the race conditions that were hacked around in the past were resolved after changing the EBML library to ebmlite. Existing thread-safety things should be reexamined.
As of #49 , Each channel has a lock used when reading or writing data. Specifically, the EventArray methods append, accessCache, and fillCache when manipulating the _data member. This should be added in more places, but it's a good start.
Thread safety is in
idelib
is minimal and inconsistent. It's not (yet?) a serious problem, but it could be in the future. Some handing of race conditions was added to address specific problems, but it's a hack. Use athreading.RLock
around adding/ending aSession
, updating/using Transforms, appending/accessingEventArray
data, etc. Also consider making some flag variables (likeDataset.loading
) properties that get/set athreading.Event
.The text was updated successfully, but these errors were encountered: