summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-17 00:41:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-17 00:41:34 +0000
commit22b8b48598a9080dfcbecfa2864ed70e5d8e8f03 (patch)
tree0c515440f9e4feb9f5b3bf44fbf8f8fc895488d8 /ace/Timer_Queue_T.cpp
parentcee327a2480335ab4435d6552d475082957b4280 (diff)
downloadATCD-22b8b48598a9080dfcbecfa2864ed70e5d8e8f03.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timer_Queue_T.cpp')
-rw-r--r--ace/Timer_Queue_T.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Timer_Queue_T.cpp b/ace/Timer_Queue_T.cpp
index 1c5e3babf02..5ba383def39 100644
--- a/ace/Timer_Queue_T.cpp
+++ b/ace/Timer_Queue_T.cpp
@@ -297,6 +297,16 @@ ACE_Async_Timer_Queue_Adapter<TQ>::cancel (long timer_id,
return this->timer_queue_.cancel (timer_id, act);
}
+template <class TQ> int
+ACE_Async_Timer_Queue_Adapter<TQ>::expire (void)
+{
+ // Block designated signals.
+ ACE_Sig_Guard sg (&this->mask_);
+ ACE_UNUSED_ARG (sg);
+
+ return this->timer_queue_.expire ();
+}
+
template <class TQ> long
ACE_Async_Timer_Queue_Adapter<TQ>::schedule (ACE_Event_Handler *eh,
const void *act,
@@ -340,7 +350,7 @@ ACE_Async_Timer_Queue_Adapter<TQ>::ACE_Async_Timer_Queue_Adapter (ACE_Sig_Set *m
// running, else just block those in the mask.
: mask_ (mask)
{
- // The following code is necessary to selectively "block" all
+ // The following code is necessary to selectively "block" certain
// signals when SIGALRM is running. Also, we always restart system
// calls that are interrupted by the signals.