blob: 70b230f6f0d23c1f3e2cb23a494c5ca3a14a2baf (
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
template <class TYPE, class FUNCTOR> ACE_INLINE void
ACE_Timer_Queue_T<TYPE, FUNCTOR>::timer_skew (const ACE_Time_Value &skew)
{
timer_skew_ = skew;
}
template <class TYPE, class FUNCTOR> ACE_INLINE const ACE_Time_Value &
ACE_Timer_Queue_T<TYPE, FUNCTOR>::timer_skew (void) const
{
return timer_skew_;
}
template <class TYPE, class FUNCTOR> ACE_INLINE int
ACE_Timer_Queue_T<TYPE, FUNCTOR>::expire (void)
{
if (!this->is_empty ())
return this->expire (this->gettimeofday () + timer_skew_);
else
return 0;
}
|