summaryrefslogtreecommitdiff
path: root/tests/Reactor_Performance_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reactor_Performance_Test.cpp')
-rw-r--r--tests/Reactor_Performance_Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Reactor_Performance_Test.cpp b/tests/Reactor_Performance_Test.cpp
index a5d2f66e419..29dd9b88e3f 100644
--- a/tests/Reactor_Performance_Test.cpp
+++ b/tests/Reactor_Performance_Test.cpp
@@ -78,7 +78,7 @@ Read_Handler::open (void *)
ACE_ERROR_RETURN ((LM_ERROR,
"(%t) Read_Handler::open, cannot set non blocking mode\n"), -1);
- if (reactor ()->register_handler (this, READ_MASK | CLOSE_MASK) == -1)
+ if (reactor ()->register_handler (this, READ_MASK) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"(%t) Read_Handler::open, cannot register handler\n"), -1);
@@ -117,16 +117,16 @@ Read_Handler::handle_close (ACE_HANDLE handle,
{
ACE_UNUSED_ARG (handle);
ACE_UNUSED_ARG (close_mask);
-
+
// Reduce count
waiting_--;
-
+
// If no connections are open
if (waiting_ == 0)
{
ACE_Reactor::instance ()->end_event_loop ();
}
-
+
ACE_DEBUG ((LM_DEBUG,
"(%t) Read_Handler::handle_close closing down\n"));