Multicores and Publication Safety

Walter Bright newshound1 at digitalmars.com
Tue Aug 5 02:15:10 PDT 2008


Jb wrote:
> What Bartoz said.. "writes to memory can be completed out of order and"
> 
> Is not true on x86.

It's risky to write such code, however, because:

1. someone else may try to port it to another processor, and then be 
mystified as to why it breaks

2. Intel may change this behavior on future x86's, which means your code 
will break years from now



More information about the Digitalmars-d mailing list