summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_Adapters.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-12-20 00:34:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-12-20 00:34:10 +0000
commitf692bf482b4e834a921111f48611172db8ff8cae (patch)
treec89732da77cd8855cbcd9895b3a6947f388aba8c /ace/Timer_Queue_Adapters.cpp
parent2910be770c011553c699dcdb60d559ac5f2bb43e (diff)
downloadATCD-f692bf482b4e834a921111f48611172db8ff8cae.tar.gz
.
Diffstat (limited to 'ace/Timer_Queue_Adapters.cpp')
-rw-r--r--ace/Timer_Queue_Adapters.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/Timer_Queue_Adapters.cpp b/ace/Timer_Queue_Adapters.cpp
index 4c79dfff68f..468c9b11d91 100644
--- a/ace/Timer_Queue_Adapters.cpp
+++ b/ace/Timer_Queue_Adapters.cpp
@@ -122,15 +122,16 @@ ACE_Async_Timer_Queue_Adapter<TQ>::handle_signal (int signum,
{
case SIGALRM:
{
- int expired_timers;
-
// Expire the pending timers.
- // @@ We need to figure out how to implement interval timers...
- expired_timers = this->timer_queue_.expire ();
- // Only schedule a new timer if there is one in the list. @@
- // This code should also become smarter to avoid unnecessary
- // calls to ualarm().
+ // @@ We need to figure out how to implement interval
+ // timers...
+ this->timer_queue_.expire ();
+
+ // Only schedule a new timer if there is one in the list.
+
+ // @@ This code should also become smarter to avoid
+ // unnecessary calls to ualarm().
if (this->timer_queue_.is_empty () == 0)
return this->schedule_ualarm ();
else