All Manuals > LispWorks® User Guide and Reference Manual > 33 The COMMON-LISP Package

update-instance-for-redefined-class Generic Function

Summary

As specified for Common Lisp, and locks the redefined instance.

Package

common-lisp

Signature

update-instance-for-redefined-class instance added-slots discarded-slots property-list &rest initargs &key &allow-other-keys

Arguments
instance
added-slots
A list.
discarded-slots
A list.
property-list
A plist.
initargs
An initialization argument list.
Description

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.

See also

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