The processor will atomically update the location to the new value if the value that is there matches the expected old value, otherwise it will do nothing.

  • 如果内存位置的值与预期原值相匹配,那么处理器会自动将该位置值更新为新值。否则,处理器不做任何操作。
目录 查词历史