diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-11 06:01:44 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-11 06:01:44 +0000 |
commit | 29bc99605b3001024214877b685194229b053770 (patch) | |
tree | f893f1e4b64e027ecb12bd3ad323b84d9ba58a26 /examples/Threads/TSS_Data.h | |
parent | 00318e0f86593079270e84624efbcac2b1285aff (diff) | |
download | ATCD-poa_start.tar.gz |
This commit was manufactured by cvs2svn to create tag 'poa_start'.poa_start
Diffstat (limited to 'examples/Threads/TSS_Data.h')
-rw-r--r-- | examples/Threads/TSS_Data.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/Threads/TSS_Data.h b/examples/Threads/TSS_Data.h deleted file mode 100644 index fb8e6312d14..00000000000 --- a/examples/Threads/TSS_Data.h +++ /dev/null @@ -1,34 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples -// -// = FILENAME -// TSS_Data.cpp -// -// = AUTHOR -// Prashant Jain and Doug Schmidt -// -// ============================================================================ - -#include "ace/Singleton.h" - -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; - - - |