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

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: <20020930151227.GA10898@redhat.com>
References: <20020930151227 DOT GA10898 AT redhat DOT com>
Date: 01 Oct 2002 07:08:10 +1000
Message-Id: <1033420091.30057.213.camel@lifelesswks>
Mime-Version: 1.0

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

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 tweaked this a little. pthread_key::keys needs to be copied.
pthreadNULL doesn't care either way - if NO_COPY is more efficient on
forks, then it can be made NO_COPY.
The pthread_mutex::inializationMutex should be NO_COPY, as the handle
isn't inheritable anyway (by design).

Rob


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

--=-JOrgQ8HL1hEq3pDlHNk2
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)

iD8DBQA9mL06I5+kQ8LJcoIRAsRLAKCoGHwnOMQP/a6mcmX2X0tY5BJnkwCcDeIb
1e4zr17yw1ZEkF+xb6tQRVM=
=3y1r
-----END PGP SIGNATURE-----

--=-JOrgQ8HL1hEq3pDlHNk2--

- Raw text -


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