As specified for Common Lisp, and locks the redefined instance.
common-lisp
update-instance-for-redefined-class instance added-slots discarded-slots property-list &rest initargs &key &allow-other-keys
instance⇩ | |
added-slots⇩ |
A list. |
discarded-slots⇩ |
A list. |
property-list⇩ |
A plist. |
initargs⇩ |
An initialization argument list. |
The generic function update-instance-for-redefined-class
behaves as specified for ANSI Common Lisp.
instance, added-slots, discarded-slots, property-list and initargs are used as specified by ANSI Common Lisp.
During the operation of updating the instance, including the call to update-instance-for-redefined-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-redefined-class in the Common Lisp HyperSpec
update-instance-for-different-class
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30