delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
MIME-Version: | 1.0 |
Subject: | RE: SHOWSTOPPER: [was Re: vfscanf in newlib] |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
content-class: | urn:content-classes:message |
Date: | Mon, 23 Apr 2001 09:10:04 +1000 |
Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EF06@itdomain002.itdomain.net.au> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | SHOWSTOPPER: [was Re: vfscanf in newlib] |
Thread-Index: | AcDLgQrPK+ifUJpDS8yotT7tOSiGtAAACU+w |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <cygwin-developers AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id TAA26748 |
> -----Original Message----- > From: Christopher Faylor [mailto:cgf AT redhat DOT com] > Sent: Monday, April 23, 2001 9:16 AM > To: cygwin-developers AT cygwin DOT com > Subject: Re: SHOWSTOPPER: [was Re: vfscanf in newlib] > > > On Mon, Apr 23, 2001 at 08:59:47AM +1000, Robert Collins wrote: > >I might be a cancellation point being checked before MTInterface is > >initialised. If thats the case, I suggest that MTInterface is > >initialised earlier. > > It should be initialized pretty early. I don't see any way > for /etc/passwd > to be read prior to this initialization. > > This is the initialization in question, right: > > user_data->threadinterface->Init (user_data->forkee); > Yes. Actually can you tell me - the if (forked) below only runs in spawned cygwin process's ? If so I've got a few bugs to fix.. Rob void MTinterface::Init (int forked) ... if (forked) return; /* shm areas a inherited when forking */ shm_head = NULL; /* possible the atfork lists should be inited here as well */ mainthread.win32_obj_id = myself->hProcess; mainthread.setThreadIdtoCurrent (); /* store the main thread's self pointer */ TlsSetValue (thread_self_dwTlsIndex, &mainthread);
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |