NAME
ACE_TSS_Adapter - 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.
SYNOPSIS
#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_;
};
DESCRIPTION
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;
AUTHOR
Doug Schmidt
LIBRARY
ace