• On Intel processors, compare-and-swap is implemented by the CMPXCHG family of instructions.

    Intel处理器中,比较交换通过指令cmpxchg系列实现

    youdao

  • You need to understand CMPXCHG and related instructions like CMPXCHG8B well, because they form the crux of lock-free solutions.

    需要了解CMPXCHGCMPXCHG8B相关指令是因为它们构成了无锁解决方案核心。

    youdao

  • You might find them by inspecting your binary for the typical spin-lock pattern at your system, e. g. , loop: CMPXCHG <adr>, JRZ loop.

    可能会发现他们通过检查系统二进制典型的旋转模式例如loopCMPXCHG <adr>,JRZ loop 。

    youdao

  • Note that the CMPXCHG instruction is atomic, which means that there is no intermediate visible state of the system before this instruction finishes.

    注意CMPXCHG指令原子性意味着这个指令结束之前没有可见中间状态

    youdao

  • Note that the CMPXCHG instruction is atomic, which means that there is no intermediate visible state of the system before this instruction finishes.

    注意CMPXCHG指令原子性意味着这个指令结束之前没有可见中间状态

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定