#include <OS.h>
Public Methods | |
| ACE_TSS_Info (ACE_thread_key_t key, void(*dest)(void *)=0, void *tss_inst=0) | |
| Constructor. More... | |
| ACE_TSS_Info (void) | |
| Default constructor. More... | |
| int | key_in_use (void) const |
| Returns 1 if the key is in use, 0 if not. More... | |
| void | key_in_use (int flag) |
| Mark the key as being in use if the flag is non-zero, or not in use if the flag is 0. More... | |
| int | operator== (const ACE_TSS_Info &) const |
| Check for equality. More... | |
| int | operator!= (const ACE_TSS_Info &) const |
| Check for inequality. More... | |
| void | dump (void) |
| Dump the state. More... | |
Private Attributes | |
| ACE_thread_key_t | key_ |
| Key to the thread-specific storage item. More... | |
| void(* | destructor_ )(void *) |
| "Destructor" that gets called when the item is finally released. More... | |
| void * | tss_obj_ |
| Pointer to ACE_TSS<xxx> instance that has/will allocate the key. More... | |
| int | thread_count_ |
| Count of threads that are using this key. Contains -1 when the key is not in use. More... | |
Friends | |
| class | ACE_TSS_Cleanup |
This class maps a key to a "destructor."
|
||||||||||||||||
|
Constructor.
|
|
|
Default constructor.
|
|
|
Dump the state.
|
|
|
Mark the key as being in use if the flag is non-zero, or not in use if the flag is 0.
|
|
|
Returns 1 if the key is in use, 0 if not.
|
|
|
Check for inequality.
|
|
|
Check for equality.
|
|
|
|
|
|
"Destructor" that gets called when the item is finally released.
|
|
|
Key to the thread-specific storage item.
|
|
|
Count of threads that are using this key. Contains -1 when the key is not in use.
|
|
|
Pointer to ACE_TSS<xxx> instance that has/will allocate the key.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001