bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a Linux select() bug


From: Bruno Haible
Subject: Re: a Linux select() bug
Date: Sun, 18 Sep 2011 23:53:03 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]