-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Posting for the sake of others information. I attempted to use an array of mutexes to guard segments of a PackedArray to reduce the delay caused by threads waiting single-file to write to the PackedArray. This approach works fine with normal arrays. However with the PackedArray I was getting inconstant results.
This suggests that any invocation of the PackedArray_get / PackedArray_set should be guarded by a mutex, even if the individual index is guarded.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels