summaryrefslogtreecommitdiff
path: root/ACE/tests/WFMO_Reactor_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/WFMO_Reactor_Test.cpp')
-rw-r--r--ACE/tests/WFMO_Reactor_Test.cpp7
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];