Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / performance-tests / Misc / test_singleton.h
blobe9ae536359fd4ff8bbd2b828a10f126aa7edf341
1 // Define the DC_Singleton here
3 #ifndef __TEST_SINGLETON_H
4 #define __TEST_SINGLETON_H
6 #include "ace/Synch_Traits.h"
8 class DC_Singleton
10 public:
11 DC_Singleton () {}
12 void svc () {}
13 static DC_Singleton *instance ();
15 private:
16 static ACE_SYNCH_MUTEX lock_;
17 static DC_Singleton *instance_;
20 #endif /* __TEST_SINGLETON_H */