diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-05 17:05:05 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-05 17:05:05 +0000 |
commit | 0139784279c7b6df7eb1267010eba58c3ef08696 (patch) | |
tree | bb4d5ff94d0342f1faa3519122eb9433c4a619be /ace/Thread_Manager.i | |
parent | c31a38c07ce8c5ffc4af292cd7babcbef50a4be7 (diff) | |
download | ATCD-0139784279c7b6df7eb1267010eba58c3ef08696.tar.gz |
moved flags members from ACE_Thread_Descriptor to a new ACE_OS_Thread_Descriptor base class, to remove dependency of OS.cpp on Thread_Manager.h
Diffstat (limited to 'ace/Thread_Manager.i')
-rw-r--r-- | ace/Thread_Manager.i | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/ace/Thread_Manager.i b/ace/Thread_Manager.i index ada1db1742c..54ceac2638e 100644 --- a/ace/Thread_Manager.i +++ b/ace/Thread_Manager.i @@ -92,7 +92,8 @@ ACE_At_Thread_Exit_Func::apply() ACE_INLINE ACE_Thread_Descriptor_Base::ACE_Thread_Descriptor_Base (void) - : thr_id_ (ACE_OS::NULL_thread), + : ACE_OS_Thread_Descriptor (), + thr_id_ (ACE_OS::NULL_thread), thr_handle_ (ACE_OS::NULL_hthread), grp_id_ (0), thr_state_ (ACE_Thread_Manager::ACE_THR_IDLE), @@ -159,14 +160,6 @@ ACE_Thread_Descriptor::self (ACE_hthread_t &handle) handle = this->thr_handle_; } -// Get the thread creation -ACE_INLINE long -ACE_Thread_Descriptor::flags (void) const -{ - ACE_TRACE ("ACE_Thread_Descriptor::flag"); - return flags_; -} - #if !defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT) ACE_INLINE void ACE_Thread_Descriptor::log_msg_cleanup(ACE_Log_Msg* log_msg) @@ -188,7 +181,7 @@ ACE_Thread_Descriptor::set_next (ACE_Thread_Descriptor *td) ACE_INLINE ACE_Thread_Descriptor * ACE_Thread_Descriptor::get_next (void) { - ACE_TRACE ("ACE_Thread_Descriptor::flag"); + ACE_TRACE ("ACE_Thread_Descriptor::get_next"); return ACE_static_cast (ACE_Thread_Descriptor *, this->next_); } |