ACE 8.0.5
Loading...
Searching...
No Matches
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:
Collaboration diagram for ACE_Thread_Descriptor_Base:

Public Member Functions

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

Public Attributes

 ACE_ALLOC_HOOK_DECLARE

Protected Member Functions

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

Protected Attributes

ACE_thread_t thr_id_
 Unique thread ID.
ACE_hthread_t thr_handle_
 Unique handle to thread (used by Win32).
int grp_id_
 Group ID.
ACE_UINT32 thr_state_
 Current state of the thread.
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::ACE_Thread_Descriptor_Base ( )
inline

◆ ~ACE_Thread_Descriptor_Base()

ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base ( )
inlinevirtual

Member Function Documentation

◆ grp_id()

int ACE_Thread_Descriptor_Base::grp_id ( ) const
inline

Group ID.

◆ operator!=()

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

Inequality operator.

◆ operator==()

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

Equality operator.

◆ reset()

void ACE_Thread_Descriptor_Base::reset ( )
inlineprotected

Reset this base thread descriptor.

◆ state()

ACE_UINT32 ACE_Thread_Descriptor_Base::state ( ) const
inline

Current state of the thread.

◆ task()

ACE_Task_Base * ACE_Thread_Descriptor_Base::task ( ) const
inline

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

◆ ACE_Double_Linked_List< ACE_Thread_Descriptor >

◆ ACE_Double_Linked_List< ACE_Thread_Descriptor_Base >

◆ ACE_Double_Linked_List_Iterator< ACE_Thread_Descriptor >

◆ ACE_Double_Linked_List_Iterator< ACE_Thread_Descriptor_Base >

◆ ACE_Double_Linked_List_Iterator_Base< ACE_Thread_Descriptor >

◆ ACE_Double_Linked_List_Iterator_Base< ACE_Thread_Descriptor_Base >

◆ ACE_Thread_Manager

friend class ACE_Thread_Manager
friend

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Thread_Descriptor_Base::ACE_ALLOC_HOOK_DECLARE

◆ grp_id_

int ACE_Thread_Descriptor_Base::grp_id_
protected

Group ID.

◆ next_

ACE_Thread_Descriptor_Base* ACE_Thread_Descriptor_Base::next_
protected

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

◆ prev_

ACE_Thread_Descriptor_Base* ACE_Thread_Descriptor_Base::prev_
protected

◆ task_

ACE_Task_Base* ACE_Thread_Descriptor_Base::task_
protected

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

◆ thr_handle_

ACE_hthread_t ACE_Thread_Descriptor_Base::thr_handle_
protected

Unique handle to thread (used by Win32).

◆ thr_id_

ACE_thread_t ACE_Thread_Descriptor_Base::thr_id_
protected

Unique thread ID.

◆ thr_state_

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: