summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-08 21:33:25 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-08 21:33:25 +0000
commit8d362ce5ee52f7dc9d90fd5183200c410129fb33 (patch)
tree396a8944771c9cfd35a045b304bd709b474def11
parent2727f1abedda8d84b74f3919c57090440ad865ad (diff)
downloadATCD-8d362ce5ee52f7dc9d90fd5183200c410129fb33.tar.gz
ChangeLogTag: Tue Jul 08 17:28:58 2003 Irfan Pyarali <irfan@oomworks.com>
-rw-r--r--ChangeLog8
-rw-r--r--tests/MT_Reactor_Timer_Test.cpp7
2 files changed, 8 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index def870af2d7..ef767f2cfaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Jul 08 17:28:58 2003 Irfan Pyarali <irfan@oomworks.com>
+
+ * tests\MT_Reactor_Timer_Test.cpp (handle_close):
+
+ Not sure why handle_close() was trying to remove the handler
+ from the Reactor. handle_close() is called as a result of being
+ removed from the Reactor. No need to remove again.
+
Tue Jul 08 15:02:48 2003 Irfan Pyarali <irfan@oomworks.com>
* examples\Reactor\Misc\pingpong.cpp:
diff --git a/tests/MT_Reactor_Timer_Test.cpp b/tests/MT_Reactor_Timer_Test.cpp
index 9ab5782ea7c..c280c6814e6 100644
--- a/tests/MT_Reactor_Timer_Test.cpp
+++ b/tests/MT_Reactor_Timer_Test.cpp
@@ -192,13 +192,6 @@ Dispatch_Count_Handler::handle_close (ACE_HANDLE h,
ACE_ASSERT (h == this->pipe_.read_handle ()
&& m == ACE_Event_Handler::READ_MASK);
- if (r->remove_handler (this->pipe_.read_handle (),
- ACE_Event_Handler::READ_MASK
- | ACE_Event_Handler::DONT_CALL) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("%p\n"),
- ACE_TEXT ("remove_handler")),
- -1);
return 0;
}