diff options
Diffstat (limited to 'ace/TP_Reactor.cpp')
-rw-r--r-- | ace/TP_Reactor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/TP_Reactor.cpp b/ace/TP_Reactor.cpp index af29cdca943..0a8daf74dd7 100644 --- a/ace/TP_Reactor.cpp +++ b/ace/TP_Reactor.cpp @@ -516,6 +516,7 @@ ACE_TP_Reactor::handle_socket_events (int &event_count, int ACE_TP_Reactor::get_event_for_dispatching (ACE_Time_Value *max_wait_time) { + // If the reactor handler state has changed, clear any remembered // ready bits and re-scan from the master wait_set. if (this->state_changed_) @@ -523,8 +524,7 @@ ACE_TP_Reactor::get_event_for_dispatching (ACE_Time_Value *max_wait_time) this->ready_set_.rd_mask_.reset (); this->ready_set_.wr_mask_.reset (); this->ready_set_.ex_mask_.reset (); - - this->state_changed_ = false; + this->state_changed_ = 0; } else { |