Boost logo

Boost :

Subject: Re: [boost] [any] new version
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-09-13 13:48:31


on Mon Sep 05 2011, Mika Heiskanen <mika.heiskanen-AT-fmi.fi> wrote:

> On Mon, 2011-09-05 at 21:17 +0300, Dave Abrahams wrote:
>> on Mon Sep 05 2011, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
>
>>
>> > The C++11 standard (the only one aware of multithreading) mandates
>> > that initialization of static variables at function scope is
>> > thread-safe.
>>
>> Really? I didn't pay attention to ever twist or turn of the process of
>> standardizing multithreading, but it greatly surprises me to hear that,
>> because it would impose an overhead on those function-static variables
>> that don't need synchronization. Can you cite the paragraphs that give
>> this guarantee?
>
> In this draft version
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3035.pdf
>
> the relevant paragraph seems to be 6.7.4.

Thanks for the reference.

FWIW, the FDIS (FINAL Draft International Standard) is N3290.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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