r764 - in trunk/varnish-cache: . bin/varnishd

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 8 10:31:11 CEST 2006


In message <ujrr6zr7hqh.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> poll(2) is mandatory, I really don't feel like adding a select(2)
>> variant either, all moderately recent UNIX have a poll(2).
>
>I thought poll(2) was only used when kqueue(2) isn't available?

No, it's also used to do reads and writes that time out.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-commit mailing list