2 //=============================================================================
6 * @author Prashant Jain and Doug Schmidt
8 //=============================================================================
11 #include "ace/Singleton.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 #include "ace/Synch_Traits.h"
22 * @brief Data that is stored in thread-specific storage.
27 void *data () { return this->data_
; }
28 void data (void *v
) { this->data_
= v
; }
31 // = data_ will be thread-specific data so it doesn't need a lock.
35 typedef ACE_TSS_Singleton
<TSS_Data
, ACE_SYNCH_MUTEX
> TSS_DATA
;