summaryrefslogtreecommitdiff
path: root/ace/Signal.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-27 23:01:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-27 23:01:04 +0000
commit7f030d80e5b2ea7a28416855b74f86ae06fb2ef9 (patch)
treea6d5c9f27aebc90f562c9a094426373312d85187 /ace/Signal.cpp
parent666ffe5a0a68f3421c132f358773636078c8775d (diff)
downloadATCD-7f030d80e5b2ea7a28416855b74f86ae06fb2ef9.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Signal.cpp')
-rw-r--r--ace/Signal.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/ace/Signal.cpp b/ace/Signal.cpp
index 9812a08624b..6b4d69a7af5 100644
--- a/ace/Signal.cpp
+++ b/ace/Signal.cpp
@@ -108,6 +108,23 @@ ACE_Sig_Action::ACE_Sig_Action (ACE_SignalHandler sig_handler,
}
ACE_Sig_Action::ACE_Sig_Action (ACE_SignalHandler sig_handler,
+ ACE_Sig_Set &sig_mask,
+ int sig_flags)
+{
+ // ACE_TRACE ("ACE_Sig_Action::ACE_Sig_Action");
+ this->sa_.sa_flags = sig_flags;
+
+ // Structure assignment...
+ this->sa_.sa_mask = sig_mask.sigset ();
+
+#if !defined(ACE_HAS_TANDEM_SIGNALS)
+ this->sa_.sa_handler = ACE_SignalHandlerV (sig_handler);
+#else
+ this->sa_.sa_handler = (void (*)()) ACE_SignalHandlerV (sig_handler);
+#endif /* !ACE_HAS_TANDEM_SIGNALS */
+}
+
+ACE_Sig_Action::ACE_Sig_Action (ACE_SignalHandler sig_handler,
int signum,
sigset_t *sig_mask,
int sig_flags)