This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [RFA] More aggressive use of atexit locking
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Cc: Jeff Johnston <jjohnstn at redhat dot com>
- Date: Thu, 4 Feb 2010 17:55:33 +0100
- Subject: Re: [RFA] More aggressive use of atexit locking
- References: <20100202021054.GA1117@ednor.casa.cgf.cx>
- Reply-to: newlib at sourceware dot org
On Feb 1 21:10, Christopher Faylor wrote:
> It seems like we should be locking both the feeder and the emptier for
> atexit operations shouldn't we? Otherwise one can be deleting things
> while another is adding things. This is especially important for the
> __cxa_* functions since the emptier can be called at any time, not just
> on process exit.
Yeah, this seems like the right thing to do. The patch looks good to me.
> Ok to commit?
Jeff? Hello? Did you have any chance to look into this patch, as well
as the patch in http://sourceware.org/ml/newlib/2010/msg00050.html?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat