Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : Alexander Terekhov Date : Thu Jan 20 2005 07:41 pm Gianni Mariani wrote: [...] > what is a lazy_mutex ? Created/opened named Windows mutex (see CreateMutex() spec). Lock it, perform the 2nd check and initialization. Then unlock it and CloseHandle(). The mutex is "lazy" just like the lazy "singleton" which initialization is serialized using it. And it doesn't live long. regards, alexander. .