- expect
- the expected value
- update
- the new value
Documentation for this section has not yet been entered.
Atomically sets the value to the given updated value if the current value == the expected value.
, so is only rarely an appropriate alternative to compareAndSet.