Boost logo

Boost :

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
>> performance.
> 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

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