From 74ef2ef5847a5f67e99c6ecaa6faee526370cd6f Mon Sep 17 00:00:00 2001 From: schmidt Date: Thu, 15 Oct 1998 00:02:26 +0000 Subject: . --- ace/Select_Reactor_T.cpp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp index b880d5292cf..287844efc39 100644 --- a/ace/Select_Reactor_T.cpp +++ b/ace/Select_Reactor_T.cpp @@ -1023,12 +1023,13 @@ ACE_Select_Reactor_T::dispatch_io_handlers template int ACE_Select_Reactor_T::dispatch - (int number_of_active_handles, + (int active_handle_count, ACE_Select_Reactor_Handle_Set &dispatch_set) { ACE_TRACE ("ACE_Select_Reactor_T::dispatch"); - int number_of_handlers_dispatched = 0; + int io_handlers_dispatched = 0; + int other_handlers_dispatched = 0; // The following do/while loop keeps dispatching as long as there // are still active handles. Note that the only way we should ever @@ -1056,10 +1057,10 @@ ACE_Select_Reactor_T::dispatch // Handle timers first since they may have higher latency // constraints. - if (this->dispatch_timer_handlers (number_of_handlers_dispatched) == -1) + if (this->dispatch_timer_handlers (other_handlers_dispatched) == -1) // State has changed or timer queue has failed, exit loop. break; - else if (number_of_active_handles <= 0) + else if (active_handle_count <= 0) { // Bail out since we got here since