On Friday, 8 December 2017 at 07:34:53 UTC, Arun Chandrasekaran wrote:
I was wondering if std.container.array.Array supports threadsafe parallel reads similar to std::vector.

No, your code can also fail on a system with inconsistent cache because data written by writing thread can remain in its cache and not reach shared memory in time or reading threads can read from their stale cache.

Reply via email to