blob: e9a0c161342aed3a9280a66386703f4bb3f97aeb (
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
26
27
28
|
// -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template<class TQ, class TYPE> ACE_INLINE TQ *
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue () const
{
return this->timer_queue_;
}
template<class TQ, class TYPE> ACE_INLINE int
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (TQ *tq)
{
if (this->delete_timer_queue_)
delete this->timer_queue_;
else if (this->timer_queue_)
this->timer_queue_->close ();
this->timer_queue_ = tq;
this->delete_timer_queue_ = false;
return 0;
}
template<class TQ, class TYPE> ACE_INLINE ACE_thread_t
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::thr_id () const
{
return this->thr_id_;
}
ACE_END_VERSIONED_NAMESPACE_DECL
|