#include <OS.h>
Public Methods | |
| ACE_TSS_Ref (ACE_thread_t id) | |
| Constructor. More... | |
| ACE_TSS_Ref (void) | |
| Default constructor. More... | |
| int | operator== (const ACE_TSS_Ref &) const |
| Check for equality. More... | |
| int | operator!= (const ACE_TSS_Ref &) const |
| Check for inequality. More... | |
Public Attributes | |
| ACE_thread_t | tid_ |
| ID of thread using a specific key. More... | |
Since the <ACE_Unbounded_Stack> doesn't allow duplicates, the "reference count" is the identify of the thread_id.
Definition at line 6522 of file OS.h.
|
|
Constructor.
Definition at line 1613 of file OS.cpp. References ACE_OS_TRACE, and ACE_thread_t.
01614 : tid_(id) 01615 { 01616 ACE_OS_TRACE ("ACE_TSS_Ref::ACE_TSS_Ref"); 01617 } |
|
|
Default constructor.
Definition at line 1619 of file OS.cpp. References ACE_OS_TRACE.
01620 {
01621 ACE_OS_TRACE ("ACE_TSS_Ref::ACE_TSS_Ref");
01622 }
|
|
|
Check for inequality.
Definition at line 1636 of file OS.cpp. References ACE_OS_TRACE.
01637 {
01638 ACE_OS_TRACE ("ACE_TSS_Ref::operator !=");
01639
01640 return !(*this == tss_ref);
01641 }
|
|
|
Check for equality.
Definition at line 1626 of file OS.cpp. References ACE_OS_TRACE, and tid_.
01627 {
01628 ACE_OS_TRACE ("ACE_TSS_Ref::operator==");
01629
01630 return this->tid_ == info.tid_;
01631 }
|
|
|
ID of thread using a specific key.
Definition at line 6540 of file OS.h. Referenced by operator==. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002