ACE_TSS_Adapter(3)

ACE_TSS_Adapter3

This class encapsulates a tss object and its associated c++ destructor function. it is used by the ace_tss... methods (in synch_t.cpp) in order to allow an extern "c" cleanup routine to be used. needed by the "frigging" mvs c++ compiler.

Usage

#include <ace/Synch.h>
class ACE_TSS_Adapter
{
  public:
    ACE_TSS_Adapter (void *object, ACE_THR_DEST f);
    ~ACE_TSS_Adapter (void);
    void cleanup (void);
    void *ts_obj_;
    ACE_THR_DEST func_;
};

Overview

Wrappers for various synchronization routines.

Public members

ACE_TSS_Adapter (void *object, ACE_THR_DEST f);

Initialize the adapter.

~ACE_TSS_Adapter (void);

Default dtor.

void cleanup (void);

Perform the cleanup operation.

void *ts_obj_;

The real TS object.

ACE_THR_DEST func_;

The real cleanup routine for ts_obj;

Library

ace

Author

Doug Schmidt

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