summaryrefslogtreecommitdiff
path: root/ace/TSS_Adapter.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-05 12:53:55 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-05 12:53:55 +0000
commit3c61e20f081bf6fbab6d3483e5e7f71cb91c4974 (patch)
tree4d687030d8e848eb2c325e8234fb807f578df890 /ace/TSS_Adapter.h
parent65ce81267a19f490a22443567c75276fc864cbd2 (diff)
downloadATCD-RepositoryManager.tar.gz
This commit was manufactured by cvs2svn to create branchRepositoryManager
'RepositoryManager'.
Diffstat (limited to 'ace/TSS_Adapter.h')
-rw-r--r--ace/TSS_Adapter.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/ace/TSS_Adapter.h b/ace/TSS_Adapter.h
deleted file mode 100644
index 8fd09f2dd26..00000000000
--- a/ace/TSS_Adapter.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// -*- C++ -*-
-
-//==========================================================================
-/**
- * @file TSS_Adapter.h
- *
- * $Id$
- *
- * Originally in Synch.h
- *
- * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
- */
-//==========================================================================
-
-#ifndef ACE_TSS_ADAPTER_H
-#define ACE_TSS_ADAPTER_H
-#include /**/ "ace/pre.h"
-
-#include "ace/ACE_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-/**
- * @class ACE_TSS_Adapter
- *
- * @brief 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.
- *
- * Objects of this class are stored in thread specific
- * storage. ts_obj_ points to the "real" object and
- * func_ is a pointer to the C++ cleanup function for ts_obj_.
- */
-class ACE_Export ACE_TSS_Adapter
-{
-public:
- /// Initialize the adapter.
- ACE_TSS_Adapter (void *object, ACE_THR_DEST f);
-
- /// Default dtor.
- ~ACE_TSS_Adapter (void);
-
- /// Perform the cleanup operation.
- void cleanup (void);
-
-//private:
-
- /// The real TS object.
- void *ts_obj_;
-
- /// The real cleanup routine for ts_obj;
- ACE_THR_DEST func_;
-};
-
-#if defined (__ACE_INLINE__)
-#include "ace/TSS_Adapter.inl"
-#endif /* __ACE_INLINE__ */
-
-#include /**/ "ace/post.h"
-#endif /* ACE_TSS_ADAPTER_H */