Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-01-18 07:49:00


Peter Dimov wrote:
>
> Local static objects can be made safe by the compiler. The new cxx64 API
> requires it.
>

Interesting, I didn't know that!

> They can also be made safe by using one of the following two approaches
> (pseudocode):
>

[...]

Sorry, (my) misinterpretation. I meant that you can not assume that a
local static variable is synchronized by the compiler because this is
not required by the standard.

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk