summaryrefslogtreecommitdiff
path: root/examples/Threads/TSS_Data.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/Threads/TSS_Data.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'examples/Threads/TSS_Data.h')
-rw-r--r--examples/Threads/TSS_Data.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/Threads/TSS_Data.h b/examples/Threads/TSS_Data.h
deleted file mode 100644
index 03fd6c8ff50..00000000000
--- a/examples/Threads/TSS_Data.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// examples
-//
-// = FILENAME
-// TSS_Data.cpp
-//
-// = AUTHOR
-// Prashant Jain and Doug Schmidt
-//
-// ============================================================================
-
-#include "ace/Singleton.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-class TSS_Data
- // = TITLE
- // Data that is stored in thread-specific storage.
-{
-public:
- void *data (void) { return this->data_; }
- void data (void *v) { this->data_ = v; }
-
-private:
- // = data_ will be thread-specific data so it doesn't need a lock.
- void *data_;
-};
-
-typedef ACE_TSS_Singleton<TSS_Data, ACE_SYNCH_MUTEX> TSS_DATA;
-
-
-