A mechanism to destroy objects when a pinboard-layout is destroyed.
destroy-dependent-object pinboard-layout ( object cl:cons)
destroy-dependent-object pinboard-layout ( object mp:process)
The generic function destroy-dependent-object
is part of a mechanism for destroying objects when a pinboard-layout is destroyed.
Objects may be registered for destruction by calling record-dependent-object and unregistered by calling unrecord-dependent-object.
The predefined destroy-dependent-object
method specializing on cl:cons
expects a list where the car is a function and the cdr are its arguments. It applies the function to the arguments. The predefined method specializing on mp:process
calls mp:process-terminate
on the process
object
.
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017