Scieneer Common Lisp 1.3.9 online documentation

kernel:set-slot-value-conditional instance slot-name old new[Function]

Atomically compare the value of slot slot-name to the old value and if eq then set the slot value to the new value. The original value of the slot is returned. Implemented by clos:set-slot-value-conditional-using-class.