MTS 8: LISP and SLIP in MTS
Page Revised February 1979 June 1976
(3) A call to CHECKPOINT with a specific structure S will not do an
automatic restore operation after the checkpoint is completed,
but rather will always terminate execution. This is necessary
because there may be references to the checkpointed structure
which no longer exists.
(4) Two attention interrupts occurring during a checkpoint or
restore will cause an immediate return to MTS. A restart from
MTS will return to CHECKPOINT or RESTORE and continue execution.
(5) The user of CHECKPOINT and RESTORE should be aware that if the
LISP I/O units have been modified before a checkpoint was
performed, then the same modifications will be in effect
immediately after a restore is performed.
Automatic Restoration of LISP Functions _______________________________________
Since the VALUE of an atom which has no function indicator on its
PLIST will be EVALed when the atom is used as a function specification,
setting the VALUE of an atom to a RESTORE form can have the effect of
making that atom a "load-on-call" function.
For example, if the atom FN is set to the form (RESTORE FN), and FN
is a proper checkpoint file (but not a total system checkpoint file),
then the structures in FN will be automatically restored the first time
FN is called. The newly restored function property of the atom FN will
be found and used, making the restore process transparent to the user.
The following functions have values initially set to RESTORE forms
which will cause large packages of functions and structures to be loaded
from the public file *LISPLIB:
COMPILE SET2
EDIT SETA2
DEBUG GRAFT2
NEWWORLD DELETE2
GETWORLD PUT2
REALWORLD REM2
RPLACA2 ADDPROP2
RPLACD2 UNCONS2
SETQ2
Creating a LISP Library _______________________
A special feature of LISP allows the user to create a library of
checkpointed structures in a single MTS file. The operations to
accomplish this take the following form:
78 LISP