95#ifndef G4TLSSINGLETON_HH
96#define G4TLSSINGLETON_HH 1
114 friend void G4AutoDelete::Register<T>(T*);
131 mutable std::list<T*> instances;
158 if(instance ==
static_cast<T*
>(0))
175 instances.push_back(i);
182 while(!instances.empty())
184 T* thisinst = instances.front();
185 instances.pop_front();
#define G4MUTEXDESTROY(mutex)
#define G4MUTEXINIT(mutex)
void Put(const value_type &val) const
~G4ThreadLocalSingleton()
friend void G4AutoDelete::Register(T *)