$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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).