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

Thread_Control.inl

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

Generated on Mon Jun 16 11:21:45 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002