diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-12-14 16:03:49 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-12-14 16:03:49 +0000 |
commit | d005604f2267dd36077e7cd378e15f81cd11dd60 (patch) | |
tree | a47852c86fd4a118701e9bf2b3854525f21077d1 /examples/Threads/TSS_Data.h | |
parent | a7e10f0b431dc0e2006196751782cd8fa40b16c7 (diff) | |
download | ATCD-d005604f2267dd36077e7cd378e15f81cd11dd60.tar.gz |
This commit was manufactured by cvs2svn to create branch
'unlabeled-1.120.2'.
Diffstat (limited to 'examples/Threads/TSS_Data.h')
-rw-r--r-- | examples/Threads/TSS_Data.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/Threads/TSS_Data.h b/examples/Threads/TSS_Data.h deleted file mode 100644 index 3c9dfcfe28c..00000000000 --- a/examples/Threads/TSS_Data.h +++ /dev/null @@ -1,40 +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 */ - -#include "ace/Synch_Traits.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; - - - |