
26 Jan
2010
26 Jan
'10
2:45 p.m.
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).