delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/11/13:28:28

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
Date: Wed, 11 Jul 2001 10:27:53 -0700 (PDT)
Message-Id: <20010711.102753.133290207.Takaaki.Ota@am.sony.com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.3.2 : Fork + Sleep = problem
From: Tak Ota <Takaaki DOT Ota AT am DOT sony DOT com>
In-Reply-To: <20010711185151.D29127@cygbert.vinschen.de>
References: <20010711131906 DOT K8578 AT cygbert DOT vinschen DOT de>
<20010711 DOT 080113 DOT 96771529 DOT Takaaki DOT Ota AT am DOT sony DOT com>
<20010711185151 DOT D29127 AT cygbert DOT vinschen DOT de>
X-Mailer: Mew version 2.0 pre1 on Emacs 21.0.103.1 / Mule 5.0 (SAKAKI)
X-Telephone: +1-858-942-3239
X-Fax------: +1-858-942-9142
X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804
Organization: Sony Electronics Inc.
Mime-Version: 1.0

I see.  Thanks for the additional explanation.

-Tak

On Wed, 11 Jul 2001 18:51:51 +0200, Corinna Vinschen <cygwin AT cygwin DOT com> wrote:

> On Wed, Jul 11, 2001 at 08:01:13AM -0700, Tak Ota wrote:
> > On Wed, 11 Jul 2001 13:19:06 +0200, Corinna Vinschen <cygwin AT cygwin DOT com> wrote:
> > 
> > > Since you only fork() but never wait(), your children processes
> > > become zombies. The zombie list per process is fixed to ... 64 entries.
> > 
> > Then why doesn't fork() start returning -1 when the number of zombie
> > reaches maximum count?  And why does sleep get affected by this?
> 
> Since that's the flaw in Cygwin I mentioned. The effect to sleep() was
> basically due to writing over an array boundary which has reproducably
> hit another signal related variable.
> 
> Unfortunately you'll have to wait for 1.3.3 or take a developers
> snapshot to get the fixed behaviour.
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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