Thread_Control.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Thread_Control.inl,v 4.3 2005/10/28 23:55:10 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 // Set the exit status.
00008 
00009 ACE_INLINE ACE_THR_FUNC_RETURN
00010 ACE_Thread_Control::status (ACE_THR_FUNC_RETURN s)
00011 {
00012   ACE_OS_TRACE ("ACE_Thread_Control::status");
00013   return this->status_ = s;
00014 }
00015 
00016 // Get the exit status.
00017 
00018 ACE_INLINE ACE_THR_FUNC_RETURN
00019 ACE_Thread_Control::status (void)
00020 {
00021   ACE_OS_TRACE ("ACE_Thread_Control::status");
00022   return this->status_;
00023 }
00024 
00025 // Returns the current <Thread_Manager>.
00026 
00027 ACE_INLINE ACE_Thread_Manager *
00028 ACE_Thread_Control::thr_mgr (void)
00029 {
00030   ACE_OS_TRACE ("ACE_Thread_Control::thr_mgr");
00031   return this->tm_;
00032 }
00033 
00034 // Atomically set a new <Thread_Manager> and return the old
00035 // <Thread_Manager>.
00036 
00037 ACE_INLINE ACE_Thread_Manager *
00038 ACE_Thread_Control::thr_mgr (ACE_Thread_Manager *tm)
00039 {
00040   ACE_OS_TRACE ("ACE_Thread_Control::thr_mgr");
00041   ACE_Thread_Manager *o_tm = this->tm_;
00042   this->tm_ = tm;
00043   return o_tm;
00044 }
00045 
00046 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:42:06 2006 for ACE by doxygen 1.3.6