Next: , Previous: , Up: iklib   [Index]


6.42 Guardians and garbage collection

Guardians are available in the (vicare) library; quoting [DYBGUA]:

Guardians provide a means to protect objects from destruction by the garbage collector. A guardian is an object with which objects can be registered for preservation and from which objects actually saved from destruction can be retrieved, one at a time, at the convenience of the program.