bug-gnulib
[Top][All Lists]
Advanced

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

non-blocking I/O tests


From: Bruno Haible
Subject: non-blocking I/O tests
Date: Mon, 11 Apr 2011 04:12:27 +0200
User-agent: KMail/1.9.9

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 review it? The test passes on Linux, FreeBSD, OpenBSD, MacOS X,
but fails on Solaris 2.6, OSF/1 5.1, IRIX 6.5, Cygwin 1.5 and 1.7, and mingw.

If already non-blocking pipes are buggy on so many platforms, what do we have
to expect from non-blocking sockets...?

Or maybe you can find a problem with my test, that I didn't see?

Bruno
-- 
In memoriam Hendrik Nicolaas Werkman 
<http://en.wikipedia.org/wiki/Hendrik_Nicolaas_Werkman>

Attachment: 0001-Add-more-tests-for-module-nonblocking.patch
Description: Text Data


reply via email to

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