This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc4 and local statics


On Wed, May 18, 2005 at 11:51:55AM -0700, Brian Dessent wrote:
>Corinna Vinschen wrote:
>
>> While this might help to avoid... something, I'm seriously wondering
>> what's wrong with this expression.  Why does each new version of gcc
>> add new incompatibilities?
>
>I think I've figured this out.  PR/13684 added thread safety to
>initialization of local statics.[1]  It does this by wrapping the call
>to the contructor around __cxa_guard_acquire and __cxa_guard_release,
>which are supposed to prevent two threads from both calling the
>constructor at the same time.

Please don't cc other mailing lists along with cygwin-developers.

If you cc a subscriber-only mailing list non-subscribers will get a
bounce when they reply.  This goes for cygwin-apps/cygwin, too.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]