Document return values
[ACE_TAO.git] / ACE / ace / Base_Thread_Adapter.inl
blob667b9f50a3a76852d0a3569ef5811df90bdef0f9
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE long
5 ACE_OS_Thread_Descriptor::flags () const
7   return flags_;
10 ACE_INLINE
11 ACE_OS_Thread_Descriptor::ACE_OS_Thread_Descriptor (long flags)
12   : flags_ (flags)
16 ACE_INLINE void
17 ACE_Base_Thread_Adapter::set_log_msg_hooks (
18     ACE_INIT_LOG_MSG_HOOK init_hook,
19     ACE_INHERIT_LOG_MSG_HOOK inherit_hook,
20     ACE_CLOSE_LOG_MSG_HOOK close_hook,
21     ACE_SYNC_LOG_MSG_HOOK sync_hook,
22     ACE_THR_DESC_LOG_MSG_HOOK thr_desc_hook)
24   ACE_Base_Thread_Adapter::init_log_msg_hook_      = init_hook;
25   ACE_Base_Thread_Adapter::inherit_log_msg_hook_   = inherit_hook;
26   ACE_Base_Thread_Adapter::close_log_msg_hook_     = close_hook;
27   ACE_Base_Thread_Adapter::sync_log_msg_hook_      = sync_hook;
28   ACE_Base_Thread_Adapter::thr_desc_log_msg_hook_  = thr_desc_hook;
31 ACE_INLINE ACE_THR_C_FUNC
32 ACE_Base_Thread_Adapter::entry_point ()
34   return this->entry_point_;
37 #ifdef ACE_USES_GPROF
38 ACE_INLINE itimerval*
39 ACE_Base_Thread_Adapter::timerval ()
41   return &(this->itimer_);
43 #endif // ACE_USES_GPROF
45 ACE_END_VERSIONED_NAMESPACE_DECL