is assembler instruction and machine instuction atomic

1 assembler instruction

depends,有的汇编指令会被assemble成多条机器指令。

2 机器指令

depends,有的机器指令也不是atomic的。

所以,不要希望在单条语句上面实现atomic。

posted @ 2017-02-23 15:49  PhoenixTree(梧桐树)  阅读(158)  评论(0编辑  收藏  举报