ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ACE_TSS_Ref Class Reference

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

#include <OS_NS_Thread.h>

Public Member Functions

 ACE_TSS_Ref (ACE_thread_t id)
 Constructor.
 
 ACE_TSS_Ref ()
 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() [1/2]

ACE_TSS_Ref::ACE_TSS_Ref ( ACE_thread_t id)

Constructor.

◆ ACE_TSS_Ref() [2/2]

ACE_TSS_Ref::ACE_TSS_Ref ( )

Default constructor.

Member Function Documentation

◆ operator!=()

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

Check for inequality.

◆ operator==()

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

Check for equality.

Member Data Documentation

◆ tid_

ACE_thread_t ACE_TSS_Ref::tid_

ID of thread using a specific key.


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