...程序员她提供了一个简单的sequential语义,特别是对于内存操作,即:编译器和处理器保证程序的内存操作和程序次序(program order)是相同就行了。严格遵守sequential semantic,会让程序的性能大大降低。
基于20个网页-相关网页
...看出,顺序一致性主要约定了两件事情: (1)从单个线程的角度来看,每个线程内部的指令都是按照程序规定的顺序(program order)来执行的;(2)从整个多线程程序的角度来看,整个多线程程序的执行顺序是按照某种交错顺序来执行的,且是全局一致的;下面我们通...
基于16个网页-相关网页
Program Order View 程序顺序视图 ; 顺序次第视图
program order address [计] 程序指令地址
Program Order Rule 程序次序规则
Special Project Program Order 特殊工程设计程序
order program 命令程序
Order Program Manager 订单计划经理
service order program 服务指令程序 ; 服务次序程序
It stores the instruction, the logical program order of instructions, and the completion order of instructions in the group.
它存储指令、指令的逻辑程序次序和指令在组中的完成次序。
Actions, such as reads and writes of variables, are ordered within a thread according to what is called the "program order" — the order in which the semantics of the program say they should occur.
像对变量的读写这样的操作,在线程中是根据所谓的“程序顺序”——程序的语义声明它们应当发生的顺序——排序的。
A given CPU or thread must see all of its own loads and stores as if they had occurred in program order.
特定的CPU或者线程在观察自己的内存访问情况的时候,其观察到的顺序和program order一致。
应用推荐