www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/06/04/22:45:35

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: error when maxing out processes
4 Jun 1998 22:45:35 -0700 :
Message-ID: <19980604222236.03994.cygnus.cygwin32.developers@cygnus.com>
References: <01BD8FA0 DOT B83089D0 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Cc: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"'Tim Newsham'" <newsham AT lava DOT net>

On Thu, Jun 04, 1998 at 10:08:27AM +0400, Sergey Okhapkin wrote:
[...]
> It's not possible to wait more than 63 childs, because of 
> WaitForMultipleObjects() call limitation (the maximum number of handles to 
> wait is 64). I think fork() call should fail when nchildren >= 63. Also, 
> sysconf(_SC_CHILD_MAX) should return 63.

Hmmm...  _SC_CHILD_MAX is "the number of simultaneous processes per
read user ID."  Isn't it more than we don't a parent process to have
more than 63 children?

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


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