Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / ace / Timer_Queue_Adapters.inl
blobe9a0c161342aed3a9280a66386703f4bb3f97aeb
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 template<class TQ, class TYPE> ACE_INLINE TQ *
5 ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue () const
7   return this->timer_queue_;
10 template<class TQ, class TYPE> ACE_INLINE int
11 ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (TQ *tq)
13   if (this->delete_timer_queue_)
14     delete this->timer_queue_;
15   else if (this->timer_queue_)
16     this->timer_queue_->close ();
17   this->timer_queue_ = tq;
18   this->delete_timer_queue_ = false;
19   return 0;
22 template<class TQ, class TYPE> ACE_INLINE ACE_thread_t
23 ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::thr_id () const
25   return this->thr_id_;
28 ACE_END_VERSIONED_NAMESPACE_DECL