5.2 Issues in multitasking
When you invokequit
from the Multitasking Facility, the scheduler first modifies all processes so that only the initial process can run. It sets the special variable*quitting-lisp*
tot
to prevent new processes from being created and existing processes from being deactivated. The initial process then activates all living processes and kills them by using the functionkill-process
.
The functionkill-process
causes each process to unwind its stack and run all the pending cleanup forms. Once all the other processes have died, the initial process then unwinds its own stack and informs the operating system to terminate Lisp.
Generated with Harlequin WebMaker