www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/06/05/11:11:24

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: error when maxing out processes
5 Jun 1998 11:11:24 -0700 :
Message-ID: <01BD90CC.FDA159E0.cygnus.cygwin32.developers@sos>
To: "'Christopher Faylor'" <cgf AT cygnus DOT com>
Cc: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>

Christopher Faylor wrote:
> >I'll look into PCTS sources - it checks some value and reports an error 
> >when is able to fork more than this number of processes on cygwin :-) 
> >Probably, it checks _POSIX_CHILD_MAX defined in <limits.h>.
> 
> I will make some changes to fork/spawn to return errors and set errno
> when the process limit is reached.  If someone can tell me what constant
> I should be using/reporting I'll fix that too.
> 

PCTS checks for _POSIX_CHILD_MAX. This must be defined as 63 in limits.h and must be checked in fork/spawn code.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


- Raw text -


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