On Mon, Apr 09, 2001 at 10:09:54PM +1000, Robert Collins wrote: >> The error you get is a result of a race condition on a lookup table >> shared by all threads. The stack is NOT corrupted in any way. > >It's not a race condition per se (timing has nothing to do with it, it's >guaranteed if two or more threads enter a try block concurrently). >Something in g++ is dsiabled when it's built without thread support, and >it returns the same base address for the context struct for each thread. >That function should return a different context regardless IMO, unless >they are using pthread_key_create, which I have also implemented. There >is a patch for that in the cygwin patch list archives, and hopefully >it'll be in CVS soon. Isn't this patch gated on newlib changes? If not, I missed it. I thought we were still waiting on final word on newlib reorganization. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
- Re: G++ guru's please comment - Re: FW: pthread_crea... Robert Collins
- Re: G++ guru's please comment - Re: FW: pthread... Christopher Faylor
- RE: G++ guru's please comment - Re: FW: pthread_crea... Robert Collins
- Re: G++ guru's please comment - Re: FW: pthread... Christopher Faylor
- RE: G++ guru's please comment - Re: FW: pthread_crea... Robert Collins
- RE: G++ guru's please comment - Re: FW: pthread_crea... Robert Collins
- Re: G++ guru's please comment - Re: FW: pthread... Christopher Faylor
- RE: G++ guru's please comment - Re: FW: pthread_crea... Robert Collins
- Re: G++ guru's please comment - Re: FW: pthread... René Møller Fonseca
- Re: G++ guru's please comment - Re: FW: pth... Robert Collins
- Re: G++ guru's please comment - Re: FW:... Christopher Faylor
- Re: G++ guru's please comment - Re:... Robert Collins
- Re: G++ guru's please comment ... Christopher Faylor
- Re: G++ guru's please comment - Re: FW:... Earnie Boyd
- Re: G++ guru's please comment - Re:... Robert Collins
- contribution soapbox(was Re: G++ guru's ple... Robert Collins
- Re: contribution soapbox(was Re: G++ gu... Christopher Faylor
- Re: contribution soapbox(was Re: G+... Michael A. Chase
- Re: contribution soapbox(was Re: G+... David Starks-Browning
- Re: contribution soapbox(was R... Christopher Faylor
- Re: contribution soapbox(was Re: G++ gu... René Møller Fonseca