NAME

ACE_Thread_Descriptor - Information for controlling threads that run under the control of the Thread_Manager.

SYNOPSIS

#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_; };

Initialization method.

ACE_Thread_Descriptor (void);

Accessor methods.

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);

We need the following to make BORLANDC happy.

int operator== (const ACE_Thread_Descriptor &rhs) const;

int operator!= (const ACE_Thread_Descriptor &rhs) const;

long flags (void) const;

AUTHOR

Doug Schmidt

LIBRARY

ace