Previous Section | Next Chapter | Table of Contents | Glossary | Index |
Cleanly exit from lisp. If the exit argument is a value of type (signed-byte 32), that value will be passed to the C library function _exit() as the status code. (A value of nil is treated as a zero.)
Alternatively, exit may be a function of no arguments; this function will be called instead of _exit() to exit the lisp.
The error-handler argument, if supplied, must be a function of one argument, the condition, that will be called if an error occurs when preparing to quit. The error-handler function should exit the lisp.
Wait for the signal with signal number s to be received, or until duration seconds have elapsed. If duration is nil, wait for an indeterminate "very long time" (many years).
If signal number s is outside the range of valid signals, or is reserved by the lisp for its own use, an error is signaled. (An error is always signaled on Windows systems.)
In Clozure CL, the cleanup forms are always executed as if they were wrapped with without-interrupts. To allow interrupts, use with-interrupts-enabled.
Previous Section | Next Chapter | Table of Contents | Glossary | Index |