Boost logo

Boost :

Subject: Re: [boost] Thread-safe singleton pattern
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-01-26 09:45:34

Andrew Chinkoff wrote:
> I propose thread safe singleton pattern implementation
> (see

Just use static variables at function scope and there you go, you have a
thread-safe implementation (in C++0x).

Boost list run by bdawes at, gregod at, cpdaniel at, john at