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: gcc static constructor multi-threading flaw


On Fri, Feb 14, 2003 at 10:09:44AM -0500, Joe Buehler wrote:
>Note that this is not a total fix.  As I recall, the code generated by
>gcc is inherently not thread-safe -- it's testing a global to see
>whether to do the constructor/destructor code block, and there is a
>race condition.

If this is a general gcc issue, then you should ping the gcc mailing list.

I'd like to see how the newlib folks respond to your atexit problem,
otherwise.  One of the principals is on vacation this week so we'll
see if he has anything to say next week.

cgf


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