一个例子:Processor #1:
while (f == 0);
// Memory fence required here
print x;
Processor #2:x = 42;
f = 1;
Powered by: IT博客 Copyright © 魔のkyo