summaryrefslogtreecommitdiff
path: root/utils/Signal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Signal.cc')
-rw-r--r--utils/Signal.cc15
1 files changed, 13 insertions, 2 deletions
diff --git a/utils/Signal.cc b/utils/Signal.cc
index ceb178b..8f9585f 100644
--- a/utils/Signal.cc
+++ b/utils/Signal.cc
@@ -164,6 +164,16 @@ CcuBaseSignalHandler :: ~CcuBaseSignalHandler ()
stack.Remove (this, 1);
}
+#ifdef DOC
+/*?
+Get the signal that is handled by this signal handler.
+?*/
+int
+CcuBaseSignalHandler :: GetSignal ()
+{
+}
+#endif /* DOC */
+
/*?hidden?*/
void
CcuBaseSignalHandler :: Install ()
@@ -227,7 +237,7 @@ CcuSignalHandler :: ~CcuSignalHandler ()
{
}
-/*?nodoc?*/
+/*?hidden?*/
void
CcuSignalHandler :: Handle ()
{
@@ -243,7 +253,8 @@ Signal blockers are often used as follows:
void
sensitive_function ()
{
- CcuSignalBlocker b (SigAlrm); // protect this function against alarms
+ // protect this function against alarms
+ CcuSignalBlocker b (SigAlrm);
...
}
\end{ccode}