diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-09 14:18:56 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-09 14:18:56 +0200 |
commit | 450630997ccc0bb1b1e48c36e4fde0628493e914 (patch) | |
tree | 4170577370febe99b0f8dc57a6163dce2bdc399e /ACE/tests | |
parent | 8b7df97c14b6e32104bdeb79a6a531b6fa0569a1 (diff) | |
download | ATCD-450630997ccc0bb1b1e48c36e4fde0628493e914.tar.gz |
Layout changes
* ACE/examples/Threads/process_mutex.cpp:
* ACE/tests/Signal_Test.cpp:
Diffstat (limited to 'ACE/tests')
-rw-r--r-- | ACE/tests/Signal_Test.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ACE/tests/Signal_Test.cpp b/ACE/tests/Signal_Test.cpp index 600e2de5f75..69f28f94ac7 100644 --- a/ACE/tests/Signal_Test.cpp +++ b/ACE/tests/Signal_Test.cpp @@ -11,7 +11,6 @@ */ //============================================================================= - #include "test_config.h" #include "ace/Thread_Manager.h" #include "ace/Process.h" @@ -25,8 +24,6 @@ #include "ace/OS_NS_stdlib.h" #include "ace/SString.h" - - #if !defined (ACE_LACKS_UNIX_SIGNALS) && !defined ACE_LACKS_SIGNAL // Global options. @@ -54,7 +51,6 @@ handle_signal (int signum) // they are "unsafe" when handler is invoked asynchronously. On // NetBSD 3.X, calls to change the thread's signal mask block as // a lock seems to be held by the signal trampoline code. - #if 0 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) received signal %S\n"), @@ -165,7 +161,6 @@ synchronous_signal_handler (void *) // This function arranges to handle signals asynchronously, which is // necessary if an OS platform lacks threads. - static ACE_THR_FUNC_RETURN asynchronous_signal_handler (void *) { @@ -185,8 +180,7 @@ asynchronous_signal_handler (void *) // Register the <handle_signal> method to process all the signals in // <sigset>. - ACE_Sig_Action sa (sigset, - (ACE_SignalHandler) handle_signal); + ACE_Sig_Action sa (sigset, (ACE_SignalHandler)handle_signal); ACE_UNUSED_ARG (sa); return 0; |