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 http://www.research.ibm.com/designpatterns/pubs/ph-jun96.txt).
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk