summaryrefslogtreecommitdiff
path: root/tests/Reactor_Performance_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-22 06:05:25 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-22 06:05:25 +0000
commitc815c10ecc9302e3a99345e8703d995a1e85bf33 (patch)
treefba2aa36d4793a9941d1197a888672f05840b2e2 /tests/Reactor_Performance_Test.cpp
parenta864916efa22c3385d10efa3ec93c657930e8466 (diff)
downloadATCD-c815c10ecc9302e3a99345e8703d995a1e85bf33.tar.gz
*** empty log message ***
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"));