On Feb 26, 2013, at 10:26 AM, Charles Forsyth <charles.fors...@gmail.com> wrote:
> > On 26 February 2013 16:20, Charles Forsyth <charles.fors...@gmail.com> wrote: > If APE's select does the same, it will be fine, without breaking Python's > pipes. > > "it will be fine" -- I meant X11 will be fine, since it's relying on closing > a file descriptor in > one part of the program to cause EBADF in the select in another part, which > will cause it > to check connections. But, but, why doesn't it just ... ? Never mind, I > don't think we need to work that out, > just behave in the same way as Linux select. Hopefully with enough time to recover for another meal. Of course, if we're going the Linux route, we'll need to up FD_SETSIZE to at least 1024, we're currently at 96. Seems that 1024 has become the default these days. http://www.freebsd.org/cgi/man.cgi?query=select&sektion=2&manpath=FreeBSD+9.1-RELEASE http://svnweb.freebsd.org/base/stable/9/sys/sys/select.h?view=markup http://fxr.watson.org/fxr/source/kern/sys_generic.c?v=FREEBSD91#L893