diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/Threads/TSS_Data.h | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-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.h | 38 |
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; - - - |