Re: non-blocking I/O tests

2011-04-18 Thread Eric Blake
On 04/17/2011 12:15 PM, Bruno Haible wrote: > Hi Eric, > > There were indeed some mistakes in the test. Now I've debugged it and added a > test for non-blocking sockets as well. Thanks again for tackling all of this. > > As is, the socket test fails on Cygwin 1.5.x. After putting STDOUT_FILENO

Re: non-blocking I/O tests

2011-04-17 Thread Bruno Haible
Hi Eric, There were indeed some mistakes in the test. Now I've debugged it and added a test for non-blocking sockets as well. As is, the socket test fails on Cygwin 1.5.x. After putting STDOUT_FILENO in non-blocking mode, get_nonblocking_flag reports that it is in non-blocking mode, but it still

Re: non-blocking I/O tests

2011-04-15 Thread Eric Blake
On 04/10/2011 08:12 PM, Bruno Haible wrote: > Hi Eric, > > I was a bit suspicious whether non-blocking I/O on Woe32 sockets really work. > So I set out to write a unit test for it. Sockets are a bit more complicated > than pipes, so I started with the pipes. > > Find attached this unit test - for

non-blocking I/O tests

2011-04-10 Thread Bruno Haible
Hi Eric, I was a bit suspicious whether non-blocking I/O on Woe32 sockets really work. So I set out to write a unit test for it. Sockets are a bit more complicated than pipes, so I started with the pipes. Find attached this unit test - for testing, not yet ready to be committed -. Can you please