On Sun, Oct 25, 2009 at 1:17 AM, Neil Conway <[email protected]> wrote:
> Attached is a patch against trunk that fixes this problem by changing
> the test suite. For some of the tests, it is sufficient to change the
> poll() timeout from 0 (one-time poll) to -1 (blocking poll). In a few
> other places, the semantics of the test needed to be changed -- e.g.
> if we do a blocking poll() after sending two messages, we need to
> account for seeing either 1 or 2 messages.
>
> With these changes applied, OSX 10.6 passes testpoll reliably (for
> ~1000 local runs), using both the POLLSET_POLL and POLLSET_KQUEUE
> methods.
>

I tested this on OSX 10.6.1, Linux 2.6, and Freebsd 6.2... Works great.

Thanks,
Ryan

Reply via email to