diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-17 19:05:35 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-17 19:05:35 +0000 |
commit | b04ebbbcabc2a64a893337882c9fe214334273b9 (patch) | |
tree | 0626e49e58430ca3c7753560819b12d63f499564 /ace/Timer_Queue_Adapters.cpp | |
parent | b2d6ed41b6163ff286ca39b5638da486e873784c (diff) | |
download | ATCD-b04ebbbcabc2a64a893337882c9fe214334273b9.tar.gz |
.
Diffstat (limited to 'ace/Timer_Queue_Adapters.cpp')
-rw-r--r-- | ace/Timer_Queue_Adapters.cpp | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/ace/Timer_Queue_Adapters.cpp b/ace/Timer_Queue_Adapters.cpp index 1a91e1cf1bd..4c79dfff68f 100644 --- a/ace/Timer_Queue_Adapters.cpp +++ b/ace/Timer_Queue_Adapters.cpp @@ -118,9 +118,6 @@ ACE_Async_Timer_Queue_Adapter<TQ>::handle_signal (int signum, siginfo_t *, ucontext_t *) { - ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("handling signal %S\n"), - signum)); switch (signum) { case SIGALRM: @@ -131,15 +128,9 @@ ACE_Async_Timer_Queue_Adapter<TQ>::handle_signal (int signum, // @@ We need to figure out how to implement interval timers... expired_timers = this->timer_queue_.expire (); - if (expired_timers > 0) - ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("time = %d, timers expired = %d\n"), - ACE_OS::time (), - expired_timers)); - - // Only schedule a new timer if there is one in the list. - // @@ This code should also become smarter to avoid - // unnecessary calls to ualarm(). + // 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 @@ -147,7 +138,10 @@ ACE_Async_Timer_Queue_Adapter<TQ>::handle_signal (int signum, /* NOTREACHED */ } default: - ACE_ERROR_RETURN ((LM_ERROR, "unexpected signal %S\n", signum), -1); + ACE_ERROR_RETURN ((LM_ERROR, + "unexpected signal %S\n", + signum), + -1); /* NOTREACHED */ } } |