ACE_TSS_Ref(3)

ACE_TSS_Ref3

"reference count" for thread-specific storage keys.

Usage

#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_;
};

Overview

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.

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

Author

Doug Schmidt [email protected], Jesper S. M|ller [email protected], and a cast of thousands...

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.