As specified for Common Lisp, and locks the redefined instance.
common-lisp
update-instance-for-different-class previous current &rest initargs &key &allow-other-keys
previous⇩ | |
current⇩ | |
initargs⇩ |
An initialization argument list. |
The generic function update-instance-for-different-class
behaves as specified for ANSI Common Lisp.
previous, current and initargs are used as specified by ANSI Common Lisp.
During the operation of updating the instance, including the call to update-instance-for-different-class
, the redefined instance is locked against access. Any other process that tries to access the instance will hang until the operation finishes. Therefore your methods must avoid doing anything that may wait for another process which may access the instance, as this would cause a deadlock.
update-instance-for-different-class in the Common Lisp HyperSpec
update-instance-for-redefined-class
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30