summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.i
blob: 480103b006232b329bc5c9743c78c9e9bd976e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*- C++ -*- */
// $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;
}