Re:Memory Reordering Caught in the Act
by HeXetic on Tuesday May 15, 2012 @11:46AM
(#3977103)
The registers aren't shared here, but the main memory is. The example has each thread write '1' into a [shared, main] memory location and then read the other thread's memory location into a register. If both CPUs' registers are 0, that means that both reads occurred before both writes.
[ Parent
| on HN ]
There are no comments on this comment yet.