blob: 41e4324e61e10787a2e9dc004f3412ac7a532fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* -*- C++ -*- */
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;
}
|