apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Phillips <r...@trolocsis.com>
Subject Re: apr 1.4: testpoll crash on OSX 10.6
Date Wed, 28 Oct 2009 02:23:14 GMT
On Sun, Oct 25, 2009 at 1:17 AM, Neil Conway <nrc@cs.berkeley.edu> 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

Mime
View raw message