diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-22 06:05:25 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-22 06:05:25 +0000 |
commit | c815c10ecc9302e3a99345e8703d995a1e85bf33 (patch) | |
tree | fba2aa36d4793a9941d1197a888672f05840b2e2 /tests/Reactor_Performance_Test.cpp | |
parent | a864916efa22c3385d10efa3ec93c657930e8466 (diff) | |
download | ATCD-c815c10ecc9302e3a99345e8703d995a1e85bf33.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/Reactor_Performance_Test.cpp')
-rw-r--r-- | tests/Reactor_Performance_Test.cpp | 8 |
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")); |