summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.i
blob: d944a83edc49296888ca2ac3a0c84dd59acaedb0 (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 (this->gettimeofday () + timer_skew_);
  else
    return 0;
}