delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/09/30/17:41:05

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Subject: Re: [PATCH] change to thread.cc -- need feedback
From: Robert Collins <rbcollins AT cygwin DOT com>
To: cygwin-developers AT cygwin DOT com
In-Reply-To: <20020930210309.GD4372@redhat.com>
References: <20020930151227 DOT GA10898 AT redhat DOT com>
<1033419006 DOT 30057 DOT 210 DOT camel AT lifelesswks> <20020930210309 DOT GD4372 AT redhat DOT com>
Date: 01 Oct 2002 07:41:34 +1000
Message-Id: <1033422095.11275.216.camel@lifelesswks>
Mime-Version: 1.0

--=-jT1bmbQ3Rd1h2TeRxlzV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 ()?=20
>=20
> dll_crt0_1 calls fork.
>=20
> 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
--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

--=-jT1bmbQ3Rd1h2TeRxlzV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9mMUOI5+kQ8LJcoIRAlXdAJ47IoOVXn4fCTuHqruy9TWmWi/I9gCfYMCG
GG0+TSLFc7kISdDAVFLtyzI=
=g6Pj
-----END PGP SIGNATURE-----

--=-jT1bmbQ3Rd1h2TeRxlzV--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019