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: [PATCH] change to thread.cc -- need feedback


On Tue, 2002-10-01 at 07:03, Christopher Faylor wrote:
> On Tue, Oct 01, 2002 at 06:50:06AM +1000, Robert Collins wrote:
> >On Tue, 2002-10-01 at 01:12, Christopher Faylor wrote:
> >> I've changed the static declarations in thread.cc to use
> >> NO_COPY and things seem to be working better in my build.
> >
> >I've got some confusion going on I think.
> >
> >Whats the call order during fork of dll_crt0_1, and
> >MTinterface::fixup_after_fork ()? 
> 
> dll_crt0_1 calls fork.
> 
> It seemed like it was possible that the static mutex value would be
> overwritten when fork is called.  That's not handled in
> MTinterface::fixup_after_fork, is it?

No, because I am handling it in MTinterface::init, which is called from
dll_crt0_1. I suspect it was handling it too early though.

Anyway, it's NO_COPY now, so that should be fixed.

Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

Attachment: signature.asc
Description: This is a digitally signed message part


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