delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Subject: | RE: Strange fork() behaviour under cygwin v1.3.1 |
Date: | Tue, 22 May 2001 10:27:55 +1000 |
MIME-Version: | 1.0 |
Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EFF0@itdomain002.itdomain.net.au> |
X-MS-Has-Attach: | |
content-class: | urn:content-classes:message |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
X-MS-TNEF-Correlator: | |
Thread-Topic: | Strange fork() behaviour under cygwin v1.3.1 |
Thread-Index: | AcDiVPVbhG1jR9vpSGaYYw9iARoPKwAAFKoA |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Andrew de Quincey" <andrew AT orbital DOT co DOT uk>, <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id UAA15681 |
> -----Original Message----- > From: Andrew de Quincey [mailto:andrew AT orbital DOT co DOT uk] > > Rob wrote > > > -----Original Message----- > > > From: Andrew de Quincey [mailto:andrew AT orbital DOT co DOT uk] > > > Hi, I've been playing with the jabber server under win32... > > > and I've run > > > into a slight problem. The following program illustrates it: > > > > > > From the "non-preemptive-ness" & the lack of any pthread or > win32 thread > functions in it, it sounds like an entirely user-space > threading library. Oh. Well I suggest you build a debug pth library, and optionally a debug cygwin library (see the cvs source web page for build instructions), and see if pth is doing funky stuff that might confuse fork(). If no actual threads are involved, there shouldn't be any particular problems :]. Also update to cygwin 1.3.2 just-in-case. > > ****** IMPORTANT ******* > > When writing or testing threading code, ___always___ check > return values > > and error flags. > > That stuff was copied directly out of the jabber server source! :))) > Ouch. Uhmm, yeah. Ouch. Rob -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |