PR 5432: Thread safety patches

Paolo Carlini pcarlini@unitus.it
Mon Jan 21 13:31:00 GMT 2002


Loren James Rittle wrote:

>In article <20020119203538.A52196@cantrip.org> you write:
>
>>A question for the group: In
>>
>>  static _Atomic_word top = 4; 
>>
>>below, is the initialization guaranteed to happen at link time,
>>rather than on function entry time, on all architectures?  
>>
>Good catch Nathan.  The guarantee of ISO-C++-14882 is not as tight as
>ISO-C-9899:1999.
>
[snip]

Loren (and Nathan) I'm finding this comparison between ISO-C-9899:1999 
and ISO-C++-14882 guarantees really enlightening!!

Thank you so much!

Paolo.




More information about the Libstdc++ mailing list