diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-04-17 12:22:55 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-04-17 12:22:55 +0200 |
commit | 6587242537bb62b4e54d110a0262c269525966d1 (patch) | |
tree | 70faeb3af45fa2b9d7a80c9f131fb2606390d22c /ACE/tests/WFMO_Reactor_Test.cpp | |
parent | c1bb9e940b47d8be511c8d62f3f2251971b93743 (diff) | |
download | ATCD-6587242537bb62b4e54d110a0262c269525966d1.tar.gz |
Layout changes
* ACE/tests/MT_Reference_Counted_Event_Handler_Test.cpp:
* ACE/tests/Process_Manager_Test.cpp:
* ACE/tests/Reactor_Exceptions_Test.cpp:
* ACE/tests/Timer_Cancellation_Test.cpp:
* ACE/tests/WFMO_Reactor_Test.cpp:
Diffstat (limited to 'ACE/tests/WFMO_Reactor_Test.cpp')
-rw-r--r-- | ACE/tests/WFMO_Reactor_Test.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ACE/tests/WFMO_Reactor_Test.cpp b/ACE/tests/WFMO_Reactor_Test.cpp index 9e86f577607..ee85fa70acb 100644 --- a/ACE/tests/WFMO_Reactor_Test.cpp +++ b/ACE/tests/WFMO_Reactor_Test.cpp @@ -10,14 +10,11 @@ */ //============================================================================= - #include "test_config.h" #include "ace/Reactor.h" #include "ace/WFMO_Reactor.h" #include "ace/Pipe.h" - - #if defined (ACE_WIN32) static int number_of_handlers = 6; @@ -26,13 +23,11 @@ static int number_of_closes = 0; class Event_Handler : public ACE_Event_Handler { public: - Event_Handler (ACE_Reactor &reactor); ~Event_Handler (void); ACE_Pipe pipe_; - }; Event_Handler::Event_Handler (ACE_Reactor &reactor) @@ -78,7 +73,7 @@ test (void) int result = 0; int i = 0; - ACE_Reactor reactor (new ACE_WFMO_Reactor, 1); + ACE_Reactor reactor (new ACE_WFMO_Reactor, true); ACE_Event_Handler_var *safe_event_handlers = new ACE_Event_Handler_var[number_of_handlers]; |