Base_Thread_Adapter.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Base_Thread_Adapter.inl,v 4.5 2005/10/28 16:14:51 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE long
00008 ACE_OS_Thread_Descriptor::flags (void) const
00009 {
00010   return flags_;
00011 }
00012 
00013 ACE_INLINE
00014 ACE_OS_Thread_Descriptor::ACE_OS_Thread_Descriptor (long flags)
00015   : flags_ (flags)
00016 {
00017 }
00018 
00019 ACE_INLINE void
00020 ACE_Base_Thread_Adapter::set_log_msg_hooks (
00021     ACE_INIT_LOG_MSG_HOOK init_hook,
00022     ACE_INHERIT_LOG_MSG_HOOK inherit_hook,
00023     ACE_CLOSE_LOG_MSG_HOOK close_hook,
00024     ACE_SYNC_LOG_MSG_HOOK sync_hook,
00025     ACE_THR_DESC_LOG_MSG_HOOK thr_desc_hook)
00026 {
00027   ACE_Base_Thread_Adapter::init_log_msg_hook_      = init_hook;
00028   ACE_Base_Thread_Adapter::inherit_log_msg_hook_   = inherit_hook;
00029   ACE_Base_Thread_Adapter::close_log_msg_hook_     = close_hook;
00030   ACE_Base_Thread_Adapter::sync_log_msg_hook_      = sync_hook;
00031   ACE_Base_Thread_Adapter::thr_desc_log_msg_hook_  = thr_desc_hook;
00032 }
00033 
00034 ACE_INLINE ACE_THR_C_FUNC
00035 ACE_Base_Thread_Adapter::entry_point (void)
00036 {
00037   return this->entry_point_;
00038 }
00039 
00040 #ifdef ACE_USES_GPROF
00041 ACE_INLINE itimerval*
00042 ACE_Base_Thread_Adapter::timerval (void)
00043 {
00044   return &(this->itimer_);
00045 }
00046 #endif // ACE_USES_GPROF
00047 
00048 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:41:47 2006 for ACE by doxygen 1.3.6