From f330084b3ff87d778f5c2d9cb2bb86b1bebdb7fc Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 23 Oct 2021 14:05:52 +0200 Subject: Minor layout changes * ACE/ace/Process_Manager.cpp: * ACE/ace/Process_Manager.h: * ACE/ace/Service_Config.cpp: * ACE/ace/Sig_Adapter.cpp: * ACE/ace/Sig_Handler.cpp: * ACE/ace/Test_and_Set.h: * ACE/ace/Timer_Queue_Adapters.cpp: * ACE/ace/WFMO_Reactor.cpp: * ACE/ace/WFMO_Reactor.inl: * ACE/apps/Gateway/Gateway/Gateway.cpp: * ACE/examples/APG/Reactor/HAStatus.cpp: * ACE/examples/APG/Reactor/Reschedule.cpp: * ACE/examples/APG/Reactor/Schedule_Timers.cpp: * ACE/examples/APG/Reactor/Timer_Cancel.cpp: * ACE/examples/APG/Reactor/Timer_State_Data.cpp: * ACE/examples/APG/Signals/SigGuard.cpp: * ACE/examples/APG/Signals/SigHandler.cpp: * ACE/examples/APG/Signals/SigInfo.cpp: * ACE/examples/APG/ThreadManagement/Signals.cpp: * ACE/examples/APG/ThreadManagement/Signals2.cpp: * ACE/examples/ASX/Event_Server/Transceiver/transceiver.cpp: * ACE/examples/Connection/blocking/SPIPE-acceptor.cpp: * ACE/examples/Connection/misc/Connection_Handler.cpp: * ACE/examples/Connection/misc/Connection_Handler.h: * ACE/examples/Connection/non_blocking/CPP-connector.cpp: * ACE/examples/QOS/Change_Receiver_FlowSpec/QoS_Signal_Handler.h: * ACE/examples/QOS/Change_Sender_TSpec/QoS_Signal_Handler.cpp: * ACE/examples/QOS/Change_Sender_TSpec/QoS_Signal_Handler.h: * ACE/examples/QOS/Simple/QoS_Signal_Handler.h: * ACE/examples/Reactor/Misc/notification.cpp: * ACE/examples/Reactor/Misc/test_demuxing.cpp: * ACE/examples/Reactor/Misc/test_event_handler_t.cpp: * ACE/examples/Reactor/Misc/test_signals_1.cpp: * ACE/examples/Reactor/Misc/test_signals_2.cpp: * ACE/examples/Reactor/WFMO_Reactor/APC.cpp: * ACE/examples/Reactor/WFMO_Reactor/Abandoned.cpp: * ACE/examples/Reactor/WFMO_Reactor/Directory_Changes.cpp: * ACE/examples/Reactor/WFMO_Reactor/Registry_Changes.cpp: * ACE/examples/Reactor/WFMO_Reactor/Talker.cpp: * ACE/examples/Reactor/WFMO_Reactor/Window_Messages.cpp: * ACE/netsvcs/lib/TS_Clerk_Handler.h: * ACE/tests/Bug_2368_Regression_Test.cpp: * ACE/tests/Network_Adapters_Test.cpp: * ACE/tests/Network_Adapters_Test.h: * ACE/tests/Reference_Counted_Event_Handler_Test.cpp: --- ACE/tests/Bug_2368_Regression_Test.cpp | 14 ++++---------- ACE/tests/Network_Adapters_Test.cpp | 4 +--- ACE/tests/Network_Adapters_Test.h | 4 +--- ACE/tests/Reference_Counted_Event_Handler_Test.cpp | 7 +------ 4 files changed, 7 insertions(+), 22 deletions(-) (limited to 'ACE/tests') diff --git a/ACE/tests/Bug_2368_Regression_Test.cpp b/ACE/tests/Bug_2368_Regression_Test.cpp index 0dbacfb4d07..f3afd214362 100644 --- a/ACE/tests/Bug_2368_Regression_Test.cpp +++ b/ACE/tests/Bug_2368_Regression_Test.cpp @@ -19,8 +19,7 @@ static bool handleB_close_called = false; class My_HandlerA : public ACE_Event_Handler { public: - int handle_close (ACE_HANDLE, - ACE_Reactor_Mask) override + int handle_close (ACE_HANDLE, ACE_Reactor_Mask) override { ACE_DEBUG ((LM_DEBUG, "Handle close called\n")); @@ -29,9 +28,7 @@ public: return 0; } - int handle_signal (int, - siginfo_t *, - ucontext_t *) override + int handle_signal (int, siginfo_t *, ucontext_t *) override { ACE_DEBUG ((LM_DEBUG, "Handle signal called\n")); @@ -43,8 +40,7 @@ public: class My_HandlerB : public ACE_Event_Handler { public: - int handle_close (ACE_HANDLE, - ACE_Reactor_Mask) override + int handle_close (ACE_HANDLE, ACE_Reactor_Mask) override { ACE_DEBUG ((LM_DEBUG, "Handle close called\n")); @@ -53,9 +49,7 @@ public: return 0; } - int handle_signal (int, - siginfo_t *, - ucontext_t *) override + int handle_signal (int, siginfo_t *, ucontext_t *) override { ACE_DEBUG ((LM_DEBUG, "Handle signal called\n")); diff --git a/ACE/tests/Network_Adapters_Test.cpp b/ACE/tests/Network_Adapters_Test.cpp index 35e417c226e..e42fc226182 100644 --- a/ACE/tests/Network_Adapters_Test.cpp +++ b/ACE/tests/Network_Adapters_Test.cpp @@ -583,9 +583,7 @@ Stop_Handler::open () } int -Stop_Handler::handle_signal (int signum, - siginfo_t * , - ucontext_t *) +Stop_Handler::handle_signal (int signum, siginfo_t * , ucontext_t *) { ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) Stop_Handler::handle_signal - started.\n"))); diff --git a/ACE/tests/Network_Adapters_Test.h b/ACE/tests/Network_Adapters_Test.h index 4fe8cf6dbe0..ead6e6a120a 100644 --- a/ACE/tests/Network_Adapters_Test.h +++ b/ACE/tests/Network_Adapters_Test.h @@ -185,9 +185,7 @@ public: virtual int handle_input (ACE_HANDLE); // Dispatches handle_input () notification. - virtual int handle_signal (int signum, - siginfo_t * = 0, - ucontext_t * = 0); + virtual int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); virtual int handle_timeout (ACE_Time_Value const & current_time, void const * act = 0); diff --git a/ACE/tests/Reference_Counted_Event_Handler_Test.cpp b/ACE/tests/Reference_Counted_Event_Handler_Test.cpp index 61ab493c66c..7e2081b837d 100644 --- a/ACE/tests/Reference_Counted_Event_Handler_Test.cpp +++ b/ACE/tests/Reference_Counted_Event_Handler_Test.cpp @@ -40,7 +40,6 @@ static const char *two_second_timeout = "two second timeout"; class Reference_Counted_Event_Handler : public ACE_Event_Handler { public: - Reference_Counted_Event_Handler (int &events); ~Reference_Counted_Event_Handler () override; @@ -64,7 +63,6 @@ public: ACE_Pipe pipe_; int &events_; - }; Reference_Counted_Event_Handler::Reference_Counted_Event_Handler (int &events) @@ -470,7 +468,6 @@ reference_count_2 (ACE_Reactor_Impl *impl) class Simple_Event_Handler : public ACE_Event_Handler { public: - Simple_Event_Handler (int &events, int close_count); @@ -485,15 +482,13 @@ public: int handle_signal (int, siginfo_t *, ucontext_t *) override; - int handle_close (ACE_HANDLE, - ACE_Reactor_Mask) override; + int handle_close (ACE_HANDLE, ACE_Reactor_Mask) override; ACE_Pipe pipe_; int &events_; int close_count_; - }; Simple_Event_Handler::Simple_Event_Handler (int &events, -- cgit v1.2.1