From: David Abrahams (dave_at_[hidden])
Date: 2005-09-04 02:43:46
"Peter Dimov" <pdimov_at_[hidden]> writes:
> Greer, Joe wrote:
>> Yes, but it could have been a class static as easily and have the same
> There is no guarantee that the class static initialization precedes the
> first call to call_once.
In case it isn't obvious, I think Peter is saying you still have a
thread safety problem that can't be brushed off by saying "it could
have been a class static..."
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk