ACE  6.1.0
Public Member Functions | Public Attributes
ACE_TSS_Ref Class Reference

"Reference count" for thread-specific storage keys. More...

#include <OS_NS_Thread.h>

List of all members.

Public Member Functions

 ACE_TSS_Ref (ACE_thread_t id)
 Constructor.
 ACE_TSS_Ref (void)
 Default constructor.
bool operator== (const ACE_TSS_Ref &) const
 Check for equality.
bool operator!= (const ACE_TSS_Ref &) const
 Check for inequality.

Public Attributes

ACE_thread_t tid_
 ID of thread using a specific key.

Detailed Description

"Reference count" for thread-specific storage keys.

Since the <ACE_Unbounded_Stack> doesn't allow duplicates, the "reference count" is the identify of the thread_id.


Constructor & Destructor Documentation

ACE_TSS_Ref::ACE_TSS_Ref ( ACE_thread_t  id)

Constructor.

ACE_TSS_Ref::ACE_TSS_Ref ( void  )

Default constructor.


Member Function Documentation

ACE_SPECIAL_INLINE bool ACE_TSS_Ref::operator!= ( const ACE_TSS_Ref tss_ref) const

Check for inequality.

bool ACE_TSS_Ref::operator== ( const ACE_TSS_Ref info) const

Check for equality.


Member Data Documentation

ID of thread using a specific key.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines