Unsynchronized int access from threads
Ali Çehreli
acehreli at yahoo.com
Thu Jun 18 18:03:33 UTC 2020
On 6/18/20 9:42 AM, H. S. Teoh wrote:
> Are
> there any hardware situations where the 1st function may read a non-zero
> value if the 2nd function is simultaneously overwriting an existing zero
> with another zero?
I've worked in high performance projects where exactly that was done. I
am not aware of any hardware feature that would make that unsafe.
Ali
More information about the Digitalmars-d
mailing list