summaryrefslogtreecommitdiff
path: root/tests/Reactor_Dispatch_Order_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reactor_Dispatch_Order_Test.cpp')
-rw-r--r--tests/Reactor_Dispatch_Order_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Reactor_Dispatch_Order_Test.cpp b/tests/Reactor_Dispatch_Order_Test.cpp
index eb6e9595b68..387acbcc47f 100644
--- a/tests/Reactor_Dispatch_Order_Test.cpp
+++ b/tests/Reactor_Dispatch_Order_Test.cpp
@@ -78,7 +78,7 @@ Handler::Handler (ACE_Reactor &reactor)
if (0 != this->reactor ()->register_handler
(this->pipe_.read_handle (),
this,
- ACE_Event_Handler::ALL_EVENTS_MASK))
+ ACE_Event_Handler::READ_MASK | ACE_Event_Handler::WRITE_MASK))
ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("register")));
else
this->ok_ = true;
@@ -124,13 +124,13 @@ Handler::handle_output (ACE_HANDLE)
else
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Handler::handle_output\n")));
-#if defined (__OpenBSD__) || defined (ACE_VXWORKS) || defined (__Lynx__)
+#if defined (__OpenBSD__) || defined (ACE_VXWORKS)
// All that we need written has been written, so don't
// call handle_output again.
this->reactor ()->mask_ops (this->pipe_.read_handle (),
ACE_Event_Handler::WRITE_MASK,
ACE_Reactor::CLR_MASK);
-#endif /* __OpenBSD__ || ACE_VXWORKS || __Lynx__ */
+#endif /* __OpenBSD__ || ACE_VXWORKS */
return 0;
}