emacs.d/clones/www.sbcl.org/sbcl-internals/Groups-of-signals.html
2023-01-18 20:30:47 +01:00

66 lines
2.7 KiB
HTML

<html lang="en">
<head>
<title>Groups of signals - SBCL Internals</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="SBCL Internals">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Signal-handling.html#Signal-handling" title="Signal handling">
<link rel="next" href="The-deferral-mechanism.html#The-deferral-mechanism" title="The deferral mechanism">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This manual is part of the SBCL software system. See the `README'
file for more information.
This manual is in the public domain and is provided with
absolutely no warranty. See the `COPYING' and `CREDITS' files for
more information.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<p>
<a name="Groups-of-signals"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="The-deferral-mechanism.html#The-deferral-mechanism">The deferral mechanism</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Signal-handling.html#Signal-handling">Signal handling</a>
<hr>
</div>
<h3 class="section">6.1 Groups of signals</h3>
<p>There are two distinct groups of signals.
<h4 class="subsection">6.1.1 Semi-synchronous signals</h4>
<p>The first group, tentatively named &ldquo;semi-synchronous&rdquo;, consists of
signals that are raised on illegal instruction, hitting a protected
page, or on a trap. Examples from this group are:
<code>SIGBUS</code>/<code>SIGSEGV</code>, <code>SIGTRAP</code>, <code>SIGILL</code> and
<code>SIGEMT</code>. The exact meaning and function of these signals varies
by platform and OS. Understandably, because these signals are raised
in a controllable manner they are never blocked or deferred.
<h4 class="subsection">6.1.2 Blockable signals</h4>
<p>The other group is of blockable signals. Typically, signal handlers
block them to protect against being interrupted at all. For example
<code>SIGHUP</code>, <code>SIGINT</code>, <code>SIGQUIT</code> belong to this group.
<p>With the exception of <code>SIG_STOP_FOR_GC</code> all blockable signals are
deferrable.
</body></html>