diff options
-rw-r--r-- | ace/Thread_Manager.h | 3 | ||||
-rw-r--r-- | ace/Thread_Manager.i | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 5a7f6d86e50..addef9ebcfe 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -80,6 +80,9 @@ public: int operator!= (const ACE_Thread_Descriptor &rhs) const; // Inequality operator. + long flags (void) const; + // Get the thread creation flags. + private: ACE_thread_t thr_id_; // Unique thread ID. diff --git a/ace/Thread_Manager.i b/ace/Thread_Manager.i index 09a4fa9ea30..67b7854e74d 100644 --- a/ace/Thread_Manager.i +++ b/ace/Thread_Manager.i @@ -44,6 +44,14 @@ ACE_Thread_Descriptor::state (void) return thr_state_; } +// Get the thread creation +ACE_INLINE long +ACE_Thread_Descriptor::flags (void) const +{ + ACE_TRACE ("ACE_Thread_Descriptor::flag"); + return flags_; +} + // Set the exit status. ACE_INLINE void * |