AdvancedVocabulary#software-architecture#developer-tools#backend

Compare-and-Swap Vocabulary

Learn the vocabulary of an atomic instruction that only writes a new value if it still matches what's expected.

0 / 5 completed
1 / 5
At standup, a dev mentions a single atomic CPU instruction that reads a memory location, compares it to an expected value, and only writes a new value if the two still match, all as one indivisible step. What is this instruction called?