2 //=============================================================================
6 * This program tests various features of ACE_Thread and the
7 * thread-specific storage variant of <ACE_SingletonEx>.
9 * @author Prashant Jain and Doug Schmidt
11 //=============================================================================
14 #include "ace/Atomic_Op.h"
15 #include "ace/Synch_Traits.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 * @brief This object is stored in thread-specific storage.
33 static ACE_Atomic_Op
<ACE_SYNCH_MUTEX
, int> count_
;