Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Who ordered memory fences on an x86? (2008). Parent comment
This requirement is needed for:
T1: rd y; rd x;
T2: wr y 1;Wr x 1;
If you allow reordering its possible for an execution to observe x=0 y=1 on thread one, but that's a sequential consistency violation.
There are no comments on this comment yet.
This requirement is needed for:
T1: rd y; rd x;
T2: wr y 1;Wr x 1;
If you allow reordering its possible for an execution to observe x=0 y=1 on thread one, but that's a sequential consistency violation.