Thread_Manager
.
#include <ace/Thread_Manager.h>
class ACE_Thread_Descriptor {
public:
friend class ACE_Thread_Manager;
friend class ACE_Double_Linked_List<ACE_Thread_Descriptor>;
friend class ACE_Double_Linked_List_Iterator<ACE_Thread_Descriptor>;ACE_Thread_Descriptor (void);
ACE_thread_t self (void);
void self (ACE_hthread_t &);
int grp_id (void);
ACE_Thread_State state (void);
ACE_Task_Base *task (void);
void dump (void) const;
int at_exit ( void *object, ACE_CLEANUP_FUNC cleanup_hook, void *param );
~ACE_Thread_Descriptor (void);
int operator== (const ACE_Thread_Descriptor &rhs) const;
int operator!= (const ACE_Thread_Descriptor &rhs) const;
long flags (void) const;
private:
ACE_thread_t thr_id_;
ACE_hthread_t thr_handle_;
int grp_id_;
ACE_Thread_State thr_state_;
ACE_Cleanup_Info cleanup_info_;
long flags_;
ACE_Task_Base *task_;
ACE_Thread_Descriptor *next_;
ACE_Thread_Descriptor *prev_;
};
ACE_Thread_Descriptor (void);
ACE_thread_t self (void);
void self (ACE_hthread_t &);
int grp_id (void);
ACE_Thread_State state (void);
ACE_Task_Base *task (void);
ACE_Task_Base
or NULL if there's no
ACE_Task_Base
associated with this thread.;
void dump (void) const;
int at_exit (
void *object,
ACE_CLEANUP_FUNC cleanup_hook,
void *param
);
~ACE_Thread_Descriptor (void);
int operator== (const ACE_Thread_Descriptor &rhs) const;
int operator!= (const ACE_Thread_Descriptor &rhs) const;
long flags (void) const;