NAME

ACE_Thread_ID - Defines a platform-independent thread ID.

SYNOPSIS

#include <ace/OS.h>

class ACE_Thread_ID { public: ACE_Thread_ID (ACE_thread_t, ACE_hthread_t); 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 &); int operator != (const ACE_Thread_ID &); private: ACE_thread_t thread_id_; ACE_hthread_t thread_handle_; };

Initialization method.

ACE_Thread_ID (ACE_thread_t, ACE_hthread_t);

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 &);

int operator != (const ACE_Thread_ID &);

AUTHOR

Doug Schmidt schmidt@cs.wustl.edu, Jesper S. M|ller stophph@diku.dk, and a cast of thousands...

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.

LIBRARY

ace