On Sun, 14 Apr 2002, Wez Furlong wrote:

> Thanks for the poll emulation, but it doesn't make sense to
> include it in PHP: main/network.c only uses poll()
> to check for POLLHUP, which is not implemented by that
> library.

Hmm, that explains the pth trouble.
I guess I better move that lib somewhere more obscure - I do need it for
one or two programs, now to find out which :-).

> Thats the reason why I added it in addition to the select()
> call that (indirectly!) follows the poll call.
> 
> The solution then, is to change the #if HAVE_SYS_POLL_H to
> something that detects a native poll implementation in libc.

AC_CHECK_DEFINE(POLLHUP, sys/poll.h) ?


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to