ACE_Thread_ID3
Defines a platform-independent thread id.
Usage
#include <ace/OS.h>
class ACE_Thread_ID
{
public:
ACE_Thread_ID (ACE_thread_t, ACE_hthread_t);
ACE_Thread_ID (const ACE_Thread_ID &id);
ACE_thread_t id (void);
void id (ACE_thread_t);
ACE_hthread_t handle (void);
void handle (ACE_hthread_t);
int operator== (const ACE_Thread_ID &) const;
int operator!= (const ACE_Thread_ID &) const;
private:
ACE_thread_t thread_id_;
ACE_hthread_t thread_handle_;
};
Initialization method.
ACE_Thread_ID (ACE_thread_t, ACE_hthread_t);
ACE_Thread_ID (const ACE_Thread_ID &id);
Set/Get the Thread ID.
ACE_thread_t id (void);
void id (ACE_thread_t);
Set/Get the Thread handle.
ACE_hthread_t handle (void);
void handle (ACE_hthread_t);
!= Comparison operator.
int operator== (const ACE_Thread_ID &) const;
int operator!= (const ACE_Thread_ID &) const;
The ACE_Sched_Priority type should be used for platform-
independent thread and process priorities, by convention. int should be used for OS-specific priorities.
typedef for the _stat data structure
Giving unique ACE scoped names for some important
RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.
Library
ace