summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorchatty1993-07-27 14:06:37 +0000
committerchatty1993-07-27 14:06:37 +0000
commit986e8b1a97717f9773f06263c698eec4ccedf6b0 (patch)
tree77409c96c0853e9edcba9927f7f8755ec8618a68 /utils
parent54ba645b56dce9bca020ce01480d8c86ce609e1c (diff)
downloadivy-league-986e8b1a97717f9773f06263c698eec4ccedf6b0.zip
ivy-league-986e8b1a97717f9773f06263c698eec4ccedf6b0.tar.gz
ivy-league-986e8b1a97717f9773f06263c698eec4ccedf6b0.tar.bz2
ivy-league-986e8b1a97717f9773f06263c698eec4ccedf6b0.tar.xz
Changes in documentation
Added GetSignal ()
Diffstat (limited to 'utils')
-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}