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 the recent refactoring of the compressed-array classes into array, cache, store, and codec, there is now a single codec, owned by the data store, that is unsafely shared among threads even when thread-private views are used. Prior to the refactoring, each private_const_view and private_view owned a private zfp_stream and bitstream for accessing compressed blocks. This unsafe sharing of state for reading and writing data results in race conditions that corrupt reads and writes. As a result, the diffusion example fails when multithreading is enabled.
The text was updated successfully, but these errors were encountered:
With the recent refactoring of the compressed-array classes into
array
,cache
,store
, andcodec
, there is now a singlecodec
, owned by the datastore
, that is unsafely shared among threads even when thread-private views are used. Prior to the refactoring, eachprivate_const_view
andprivate_view
owned a privatezfp_stream
andbitstream
for accessing compressed blocks. This unsafe sharing of state for reading and writing data results in race conditions that corrupt reads and writes. As a result, thediffusion
example fails when multithreading is enabled.The text was updated successfully, but these errors were encountered: