diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-27 23:01:04 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-27 23:01:04 +0000 |
commit | 7f030d80e5b2ea7a28416855b74f86ae06fb2ef9 (patch) | |
tree | a6d5c9f27aebc90f562c9a094426373312d85187 /ace/Signal.cpp | |
parent | 666ffe5a0a68f3421c132f358773636078c8775d (diff) | |
download | ATCD-7f030d80e5b2ea7a28416855b74f86ae06fb2ef9.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Signal.cpp')
-rw-r--r-- | ace/Signal.cpp | 17 |
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) |