One of the specific set of places defined for low level atomic operations.
An object.
An object.
The macro compare-and-swap
compares the value in place with compare, and if they are the same (by eq
), stores the new-value in place.
compare-and-swap
returns non-nil if the store occurred, or nil
if the store did not occur.
place must be one of the places described in Low level atomic operations, or expand to one of them.
LispWorks User Guide and Reference Manual - 20 Sep 2017