summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.i
diff options
context:
space:
mode:
authorharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-08 20:33:09 +0000
committerharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-08 20:33:09 +0000
commita8b4f9236308c1ffed831a63a8d21b3a8ef5852b (patch)
treef0275b5da65a3eb8e41dc4b64f2b9193a6fe2267 /ace/Timer_Queue.i
parent2ffe30aa30d2a5e6d73cf8bef3cda61ddb3ec5dc (diff)
downloadATCD-a8b4f9236308c1ffed831a63a8d21b3a8ef5852b.tar.gz
I hate cvs.
Diffstat (limited to 'ace/Timer_Queue.i')
-rw-r--r--ace/Timer_Queue.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/ace/Timer_Queue.i b/ace/Timer_Queue.i
index f2733b140a4..480103b0062 100644
--- a/ace/Timer_Queue.i
+++ b/ace/Timer_Queue.i
@@ -2,3 +2,24 @@
// $Id$
// Timer_Queue.i
+
+ACE_INLINE void
+ACE_Timer_Queue::timer_skew (const ACE_Time_Value &skew)
+{
+ timer_skew_ = skew;
+}
+
+ACE_INLINE const ACE_Time_Value &
+ACE_Timer_Queue::timer_skew (void) const
+{
+ return timer_skew_;
+}
+
+ACE_INLINE int
+ACE_Timer_Queue::expire (void)
+{
+ if (!this->is_empty ())
+ return this->expire (ACE_OS::gettimeofday () + timer_skew_);
+ else
+ return 0;
+}