NAME

ACE_TSS_Info - Thread Specific Key management.

SYNOPSIS

#include <ace/OS.h>

class ACE_TSS_Info { public: ACE_TSS_Info (ACE_thread_key_t key, void (*dest)( void *) = 0, void *tss_inst = 0 ); ACE_TSS_Info (void); inline int key_in_use (void) const; inline void key_in_use (int flag); int operator== (const ACE_TSS_Info &) const; int operator!= (const ACE_TSS_Info &) const; void dump (void); private: ACE_thread_key_t key_; void (*destructor_)(void *); void *tss_obj_; int thread_count_; friend class ACE_TSS_Cleanup; };

DESCRIPTION

This class maps a key to a "destructor."

PUBLIC MEMBERS

ACE_TSS_Info (ACE_thread_key_t key, void (*dest)(
    void *) = 0,
    void *tss_inst = 0
    );

ACE_TSS_Info (void);

inline int key_in_use (void) const;

inline void key_in_use (int flag);

int operator== (const ACE_TSS_Info &) const;

int operator!= (const ACE_TSS_Info &) const;

void dump (void);

PRIVATE MEMBERS

ACE_thread_key_t key_;

void (*destructor_)(void *);

void *tss_obj_;

int thread_count_;

friend class ACE_TSS_Cleanup;

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.

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