Information | |
---|---|
has gloss | eng: In computer science, the compare-and-swap CPU instruction ("CAS") (or the Compare & Exchange - CMPXCHG instruction in the x86 and Itanium architectures) is a special instruction that atomically compares the contents of a memory location to a given value and, if they are the same, modifies the contents of that memory location to a given new value. The result of the operation must indicate whether it performed the substitution; this can be done either with a simple boolean response (this variant is often called compare-and-set), or by returning the value read from the memory location (not the value written to it). |
lexicalization | eng: Compare and swap |
lexicalization | eng: Compare-And-Swap |
instance of | e/X86 instruction listings |
Meaning | |
---|---|
German | |
has gloss | deu: Compare-and-Swap (CAS) (engl. für „Vergleichen und Tauschen“) -Instruktionen werden in der Informatik verwendet, um Locking- und Synchronisationsoperationen zu implementieren. Eine Speicherstelle wird mit einem vorgegebenen Wert verglichen, und bei Übereinstimmung mit einem neuen Wert überschrieben. Am Rückgabewert muss abzulesen sein, ob der Tausch ausgeführt wurde. |
lexicalization | deu: Compare-and-swap |
Japanese | |
has gloss | jpn: コンペア・アンド・スワップ(Compare-and-Swap、CAS)とは、アトミックに、あるメモリ位置の内容と指定された値を比較し、等しければそのメモリ位置に別の指定された値を格納するCPUの特別な命令の一種である。この操作の結果、置換が行われたかどうかを示す必要があり、単純な真理値を返すか、そのメモリ位置から読み込んだ内容(書き込んだ内容ではない)を返す。 |
lexicalization | jpn: コンペア・アンド・スワップ |
Russian | |
has gloss | rus: Сравнение с обменом — атомарная инструкция семейств процессоров x86, Itanium, Sparc. |
lexicalization | rus: Сравнение с обменом |
Lexvo © 2008-2025 Gerard de Melo. Contact Legal Information / Imprint