diff options
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; - - - |