ACE  6.3.3
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ACE_Thread_Descriptor_Base Class Reference

Basic information for thread descriptors. These information gets extracted out because we need it after a thread is terminated. More...

#include <Thread_Manager.h>

Inheritance diagram for ACE_Thread_Descriptor_Base:
Inheritance graph
[legend]
Collaboration diagram for ACE_Thread_Descriptor_Base:
Collaboration graph
[legend]

Public Member Functions

 ACE_Thread_Descriptor_Base (void)
 
virtual ~ACE_Thread_Descriptor_Base (void)
 
bool operator== (const ACE_Thread_Descriptor_Base &rhs) const
 Equality operator. More...
 
bool operator!= (const ACE_Thread_Descriptor_Base &rhs) const
 Inequality operator. More...
 
int grp_id (void) const
 Group ID. More...
 
ACE_UINT32 state (void) const
 Current state of the thread. More...
 
ACE_Task_Basetask (void) const
 
- Public Member Functions inherited from ACE_OS_Thread_Descriptor
long flags (void) const
 Get the thread creation flags. More...
 
virtual ~ACE_OS_Thread_Descriptor (void)
 

Protected Member Functions

void reset (void)
 Reset this base thread descriptor. More...
 
- Protected Member Functions inherited from ACE_OS_Thread_Descriptor
 ACE_OS_Thread_Descriptor (long flags=0)
 For use by ACE_Thread_Descriptor. More...
 

Protected Attributes

ACE_thread_t thr_id_
 Unique thread ID. More...
 
ACE_hthread_t thr_handle_
 Unique handle to thread (used by Win32 and AIX). More...
 
int grp_id_
 Group ID. More...
 
ACE_UINT32 thr_state_
 Current state of the thread. More...
 
ACE_Task_Basetask_
 
ACE_Thread_Descriptor_Basenext_
 
ACE_Thread_Descriptor_Baseprev_
 
- Protected Attributes inherited from ACE_OS_Thread_Descriptor
long flags_
 

Friends

class ACE_Thread_Manager
 
class ACE_Double_Linked_List< ACE_Thread_Descriptor_Base >
 
class ACE_Double_Linked_List_Iterator_Base< ACE_Thread_Descriptor_Base >
 
class ACE_Double_Linked_List_Iterator< ACE_Thread_Descriptor_Base >
 
class ACE_Double_Linked_List< ACE_Thread_Descriptor >
 
class ACE_Double_Linked_List_Iterator_Base< ACE_Thread_Descriptor >
 
class ACE_Double_Linked_List_Iterator< ACE_Thread_Descriptor >
 

Detailed Description

Basic information for thread descriptors. These information gets extracted out because we need it after a thread is terminated.

Constructor & Destructor Documentation

ACE_Thread_Descriptor_Base::ACE_Thread_Descriptor_Base ( void  )
inline
ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base ( void  )
inlinevirtual

Member Function Documentation

int ACE_Thread_Descriptor_Base::grp_id ( void  ) const
inline

Group ID.

bool ACE_Thread_Descriptor_Base::operator!= ( const ACE_Thread_Descriptor_Base rhs) const
inline

Inequality operator.

bool ACE_Thread_Descriptor_Base::operator== ( const ACE_Thread_Descriptor_Base rhs) const
inline

Equality operator.

void ACE_Thread_Descriptor_Base::reset ( void  )
inlineprotected

Reset this base thread descriptor.

ACE_UINT32 ACE_Thread_Descriptor_Base::state ( void  ) const
inline

Current state of the thread.

ACE_Task_Base * ACE_Thread_Descriptor_Base::task ( void  ) const
inline

Return the pointer to an ACE_Task_Base or NULL if there's no ACE_Task_Base associated with this thread.;

Friends And Related Function Documentation

friend class ACE_Thread_Manager
friend

Member Data Documentation

int ACE_Thread_Descriptor_Base::grp_id_
protected

Group ID.

ACE_Thread_Descriptor_Base* ACE_Thread_Descriptor_Base::next_
protected

We need these pointers to maintain the double-linked list in a thread managers.

ACE_Thread_Descriptor_Base* ACE_Thread_Descriptor_Base::prev_
protected
ACE_Task_Base* ACE_Thread_Descriptor_Base::task_
protected

Pointer to an ACE_Task_Base or NULL if there's no ACE_Task_Base.

ACE_hthread_t ACE_Thread_Descriptor_Base::thr_handle_
protected

Unique handle to thread (used by Win32 and AIX).

ACE_thread_t ACE_Thread_Descriptor_Base::thr_id_
protected

Unique thread ID.

ACE_UINT32 ACE_Thread_Descriptor_Base::thr_state_
protected

Current state of the thread.


The documentation for this class was generated from the following files: