Condition.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 //Condition.inl,v 1.5 2005/11/02 07:13:02 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 template <class MUTEX> ACE_INLINE int
00008 TAO_Condition<MUTEX>::wait (void)
00009 {
00010   return this->cond_->wait ();
00011 }
00012 
00013 template <class MUTEX> ACE_INLINE int
00014 TAO_Condition<MUTEX>::wait (MUTEX &mutex,
00015                             const ACE_Time_Value *abstime)
00016 {
00017   return this->cond_->wait (mutex,
00018                            abstime);
00019 }
00020 
00021 // Peform an "alertable" timed wait.  If the argument ABSTIME == 0
00022 // then we do a regular cond_wait(), else we do a timed wait for up to
00023 // ABSTIME using the Solaris cond_timedwait() function.
00024 
00025 template <class MUTEX> ACE_INLINE int
00026 TAO_Condition<MUTEX>::wait (const ACE_Time_Value *abstime)
00027 {
00028   return this->wait (*this->mutex_, abstime);
00029 }
00030 
00031 template<class MUTEX> ACE_INLINE int
00032 TAO_Condition<MUTEX>::remove (void)
00033 {
00034   return this->cond_->remove ();
00035 }
00036 
00037 template<class MUTEX> ACE_INLINE MUTEX *
00038 TAO_Condition<MUTEX>::mutex (void)
00039 {
00040   return this->mutex_;
00041 }
00042 
00043 template <class MUTEX> ACE_INLINE int
00044 TAO_Condition<MUTEX>::signal (void)
00045 {
00046   return this->cond_->signal ();
00047 }
00048 
00049 template <class MUTEX> ACE_INLINE int
00050 TAO_Condition<MUTEX>::broadcast (void)
00051 {
00052   return this->cond_->broadcast ();
00053 }
00054 
00055 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:09 2006 for TAO by doxygen 1.3.6