diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-07 02:37:46 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-07 02:37:46 +0000 |
commit | b5615e6956f422742dc68821b030182943e6e0cc (patch) | |
tree | db7529a8d0b06b1db3d0bf0df291e8bc1731232a /tests/Signal_Test.cpp | |
parent | e3046d03116496646ea74ba0624fe8f708b8efd2 (diff) | |
download | ATCD-b5615e6956f422742dc68821b030182943e6e0cc.tar.gz |
ChangeLogTag:Mon Sep 6 21:19:27 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'tests/Signal_Test.cpp')
-rw-r--r-- | tests/Signal_Test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/Signal_Test.cpp b/tests/Signal_Test.cpp index f09241173eb..31a71a26c2e 100644 --- a/tests/Signal_Test.cpp +++ b/tests/Signal_Test.cpp @@ -120,9 +120,7 @@ synchronous_signal_handler (void *) sigset.sig_add (SIGTERM); } else - { - sigset.sig_add (SIGHUP); - } + sigset.sig_add (SIGHUP); for (;;) { @@ -330,6 +328,10 @@ run_test (ACE_THR_FUNC worker, } } else +#else + // Don't remove this since otherwise some compilers give warnings + // when ACE_HAS_THREADS is disabled! + ACE_UNUSED_ARG (synchronous_signal_handler); #endif /* ACE_HAS_THREADS */ { ACE_UNUSED_ARG (handle_signals_in_separate_thread); |