Re: python select() is limited to fds < 64

2011-04-20 Thread Bert Belder
Christopher Faylor wrote: > I forgot to add one bit of data. Unless you go out of your way to > change it, Cygwin's select can't wait for an fd > 63. It's basically a > bit mask. So, there are two limitations: 1) the number of handles that > you can wait for with WaitForMultipleObjects() and 2)

RE: Possible pipe(2) bug

2010-08-09 Thread Bert Belder
On Mon, Aug 09, 2010 at 07:01PM +0200, Christopher Faylor wrote: > On Mon, Aug 09, 2010 at 03:00:03AM +0200, Bert Belder wrote: > >I think the pipe(2) implementation may have a bug. > > > >The pipe function creates a pipe and returns two file descriptors > >(which

Possible pipe(2) bug

2010-08-08 Thread Bert Belder
I think the pipe(2) implementation may have a bug. The pipe function creates a pipe and returns two file descriptors (which are just numbers), one for reading and one for writing. However sometimes (but rarely) two subsequent calls to the pipe function returns the same file descriptor twice. T