summaryrefslogtreecommitdiff
path: root/ACE/ace/Select_Reactor_T.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-12-16 06:49:58 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-12-16 06:49:58 +0000
commit9876c459c27beb724d6caf1096f0385f4cf3b22e (patch)
tree21c37c5e6df1da2996531d4e6090dc604bf1f3d5 /ACE/ace/Select_Reactor_T.cpp
parent02078796124c2311aaeb5409117be851fa7a8226 (diff)
downloadATCD-9876c459c27beb724d6caf1096f0385f4cf3b22e.tar.gz
Sun Dec 16 06:49:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Select_Reactor_T.cpp')
-rw-r--r--ACE/ace/Select_Reactor_T.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/ACE/ace/Select_Reactor_T.cpp b/ACE/ace/Select_Reactor_T.cpp
index 557d1babca7..0d94dffdba3 100644
--- a/ACE/ace/Select_Reactor_T.cpp
+++ b/ACE/ace/Select_Reactor_T.cpp
@@ -391,10 +391,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::open
ACE_Sig_Handler,
-1);
- if (this->signal_handler_ == 0)
- result = -1;
- else
- this->delete_signal_handler_ = 1;
+ this->delete_signal_handler_ = true;
}
// Allows the timer queue to be overridden.
@@ -404,10 +401,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::open
ACE_Timer_Heap,
-1);
- if (this->timer_queue_ == 0)
- result = -1;
- else
- this->delete_timer_queue_ = true;
+ this->delete_timer_queue_ = true;
}
// Allows the Notify_Handler to be overridden.
@@ -417,10 +411,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::open
ACE_Select_Reactor_Notify,
-1);
- if (this->notify_handler_ == 0)
- result = -1;
- else
- this->delete_notify_handler_ = true;
+ this->delete_notify_handler_ = true;
}
if (result != -1 && this->handler_rep_.open (size) == -1)