summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-19 05:34:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-19 05:34:34 +0000
commit84b3fcbb4a5f3fa3abf91bf7f0c980283b486e2c (patch)
tree71197655ce02a20cec5fee88530143f0976f6b13 /ace
parentf7835991ad9c3322001514537eac002900e0df5d (diff)
downloadATCD-84b3fcbb4a5f3fa3abf91bf7f0c980283b486e2c.tar.gz
foo
Diffstat (limited to 'ace')
-rw-r--r--ace/Reactor.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Reactor.cpp b/ace/Reactor.cpp
index d1382d68793..a245502d448 100644
--- a/ace/Reactor.cpp
+++ b/ace/Reactor.cpp
@@ -1522,7 +1522,7 @@ ACE_Reactor::dispatch (int number_of_active_handles,
if (this->dispatch_timer_handlers () == -1)
// State has changed or timer queue has failed, exit inner
// loop.
- ;
+ break;
else if (number_of_active_handles <= 0)
// Bail out since we got here since select() was interrupted.
{
@@ -1530,6 +1530,8 @@ ACE_Reactor::dispatch (int number_of_active_handles,
{
ACE_Sig_Handler::sig_pending (0);
+ // If any HANDLES are activated as a result of signals they
+ // should be dispatched since they may be time critical...
number_of_active_handles = this->any_ready (dispatch_set);
}
else
@@ -1537,14 +1539,11 @@ ACE_Reactor::dispatch (int number_of_active_handles,
}
else if (this->dispatch_notification_handlers
(number_of_active_handles, dispatch_set) == -1)
- ; // State has changed, exit inner loop.
+ break; // State has changed, exit inner loop.
else if (this->dispatch_io_handlers
(number_of_active_handles, dispatch_set) == -1)
// State has changed exit inner loop.
- ;
-
- // If any HANDLES are activated as a result of signals they
- // should be dispatched since they may be time critical...
+ break;
}
while (number_of_active_handles > 0);