Pádraig Brady wrote:
> for the performance tweak to work, select() would have
> to effectively use MIN (nfds, FDSize)?

Possibly.

It's bizarre that I observe the same bug and also the same dependency upon
whether 'make' occurs among the ancestor processes _also_on_MacOS_X_.

Here, on MacOS X 10.5.8, the results of the POSIX compliance test are:

   fd  standalone   from make

  256  fail         fail
  255  pass         fail
   99  pass         fail
   65  pass         fail
   63  pass         fail
   32  pass         fail
   31  pass         1/2 fail
   25  pass         1/2 fail
<= 24  pass         pass

It's astonishing to see Linux (GPL) and Darwin (BSD licensed) have similar
behaviour in select() and vfork().

Bruno
-- 
In memoriam Bernhard Bästlein <http://en.wikipedia.org/wiki/Bernhard_Bästlein>

Reply via email to