| 
    ACE
    6.2.1
    
   | 
 
Defines a platform-independent thread ID class. Note that this class should be defined within the scope of a thread, rather than at global scope! More...
#include <OS_NS_Thread.h>
Public Member Functions | |
| ACE_Thread_ID (ACE_thread_t thr_id, ACE_hthread_t thr_handle) | |
| ACE_Thread_ID (void) | |
| Initialize the object using calls to ACE_OS::thr_self().  More... | |
| ACE_Thread_ID (const ACE_Thread_ID &id) | |
| Copy constructor.  More... | |
| ACE_Thread_ID & | operator= (const ACE_Thread_ID &id) | 
| Assignment operator.  More... | |
| ACE_thread_t | id (void) const | 
| Get the thread id.  More... | |
| void | id (ACE_thread_t) | 
| Set the thread id.  More... | |
| ACE_hthread_t | handle (void) const | 
| Get the thread handle.  More... | |
| void | handle (ACE_hthread_t) | 
| Set the thread handle.  More... | |
| void | to_string (char *thr_string) const | 
| bool | operator== (const ACE_Thread_ID &) const | 
| Equality operator.  More... | |
| bool | operator!= (const ACE_Thread_ID &) const | 
| Inequality operator.  More... | |
Private Attributes | |
| ACE_thread_t | thread_id_ | 
| Identify the thread.  More... | |
| ACE_hthread_t | thread_handle_ | 
| Handle to the thread (typically used to "wait" on Win32).  More... | |
Defines a platform-independent thread ID class. Note that this class should be defined within the scope of a thread, rather than at global scope!
      
  | 
  inline | 
Initialize the object using the thread id and thread handle passed as parameters.
      
  | 
  inline | 
Initialize the object using calls to ACE_OS::thr_self().
      
  | 
  inline | 
Copy constructor.
      
  | 
  inline | 
Get the thread handle.
      
  | 
  inline | 
Set the thread handle.
      
  | 
  inline | 
Get the thread id.
      
  | 
  inline | 
Set the thread id.
      
  | 
  inline | 
Inequality operator.
      
  | 
  inline | 
Assignment operator.
      
  | 
  inline | 
Equality operator.
| void ACE_Thread_ID::to_string | ( | char * | thr_string | ) | const | 
      
  | 
  private | 
Handle to the thread (typically used to "wait" on Win32).
      
  | 
  private | 
Identify the thread.
 1.8.3.1