compare-and-swap的意思|示意

美 / / 英 / /

比较并交换,比较和交换


compare-and-swap的网络常见释义

比较并交换 ... 交换(Swap) 比较并交换(Compare-and-Swap) 加载链接/条件存储(Load-Linked/Store-Conditional) ...

compare-and-swap相关短语

1、 compare and swap 比较与调换 ; 原语

2、 cas compare and swap 比较和交换

compare-and-swap相关例句

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

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

Here's an example of implementing compare and swap for the Intel architecture.

这里是为Intel体系结构实现比较与交换的一个示例。

The most common approach taken by current processors, including Intel and Sparc processors, is to implement a primitive called compare-and-swap, or CAS.

现在的处理器(包括Intel和Sparc处理器)使用的最通用的方法是实现名为比较并转换或CAS的原语。

Equivalent instructions are available on other platforms-for example, the Motorola MC68030 processor has an instruction named compare and swap (CAS) that has similar semantics.

在其他平台上有等效的指令,例如Motorola MC 68030处理器的compare and swap (CAS)指令有相似的语义。

Under the hood, operations on atomic variables get turned into the hardware primitives that the platform provides for concurrent access, such as compare-and-swap.

在表面之下,原子变量的操作会变为平台提供的用于并发访问的硬件原语,比如比较并交换。

On Linux x86, you can use a compare and swap operation to implement atomic locking. For example, a sample implementation for compare and swap on Linux x86 can be the following.

在Linux x86上,您可以使用一个compare和swap操作来实现原子锁。