Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Condition.inl

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

Generated on Mon Jun 16 13:48:05 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002