summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_Adapters.i
blob: e48cec7cd9d3b83144629de33d79945b675c4a93 (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
/* -*- C++ -*- */

// $Id$

template<class TQ> ACE_INLINE
ACE_Thread_Timer_Queue_Adapter<TQ>::ACE_Thread_Timer_Queue_Adapter (void)
  : ACE_Task_Base (ACE_Thread_Manager::instance ()),
    condition_ (lock_)
{
  // Assume that we start in active mode.
  this->active_ = 1;
}

template<class TQ> ACE_INLINE ACE_SYNCH_MUTEX &
ACE_Thread_Timer_Queue_Adapter<TQ>::mutex (void)
{
  return this->lock_;
}

template<class TQ> ACE_INLINE TQ &
ACE_Thread_Timer_Queue_Adapter<TQ>::timer_queue (void)
{
  return timer_queue_;
}