最保守的策略叫做顺序一致性(sequential consistency):任何一次执行的结果都是相同的,就好像每个处理器的访问都保持一定的顺序并且不同处理器的访问是交织进行的。
基于210个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
这里的问题不是有关顺序一致性的,而是代码被移动了,不是重新排序。
The problem here is not with sequential consistency. Code is being moved, not reordered.
的硬件的细节的干扰。可以很公平的说,如果我们有一台真正采用严格一致性内存模型的计算机系统,那么我们将可以推理出它使用顺序一致性内存模型是的各种情况。
It's probably fair to say that if we have a computer system that really uses strict consistency, we'll want to reason about it using sequential consistency.
只有数据快照实现了写入顺序一致,才能保证运行数据的一致性。
Consistency of the run data only exists when the snapshot of the data is write order consistent.
应用推荐