[ Home ]
SBCL Internals

The pages on this CLiki-driven site can be edited by anybody at any time. No warranty of any kind can therefore be made; any implied warranties of merchantability or fitness for a particular purpose are expressly disclaimed
[ Home ] [ Recent Changes ] [ About CLiki ] [ Text Formatting ]

Note that Unix signals are referred to as "interrupts" more or less universally in SBCL. This helps avoid confusion with the CL SIGNAL function, at the expense of promoting confusion in people who also hack OS kernels and have to deal with real interrupts

Signal handlers are written in C. In the majority of cases, the C handler calls a Lisp function.

Some signals are used by the Runtime. Precisely which depends on the OS in use, but typically this includes

Usually the handlers for these will continue on and call a user-level Lisp handler if they can't work out anything grungier to do.

Pseudo-atomic sections can be used to defer signal handling. This doesn't actually disable the signal from being raised, and the C handler still gets called. It just puts off calling the related Lisp routine until exit from the PA section.


This page is linked from: Alpha   runtime  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively