Reference

ACE_TSS_Ref(3)

"Reference count" for thread-specific storage keys.

NAME

ACE_TSS_Ref - "Reference count" for thread-specific storage keys.

SYNOPSIS

#include <ace/OS.h>
class ACE_TSS_Ref
{
  public:
    ACE_TSS_Ref (ACE_thread_t id);
    ACE_TSS_Ref (void);
    int operator== (const ACE_TSS_Ref &) const;
    int operator!= (const ACE_TSS_Ref &) const;
    ACE_thread_t tid_;
};

DESCRIPTION

Since the ACE_Unbounded_Stack doesn't allow duplicates, the "reference count" is the identify of the thread_id.

PUBLIC MEMBERS

ACE_TSS_Ref (ACE_thread_t id);

Constructor

ACE_TSS_Ref (void);

Default constructor

int operator== (const ACE_TSS_Ref &) const;

Check for equality.

int operator!= (const ACE_TSS_Ref &) const;

Check for inequality.

ACE_thread_t tid_;

ID of thread using a specific key.

AUTHOR

Doug Schmidt [email protected], Jesper S. M|ller [email protected], 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