Re: cvs commit: squid3/lib xusleep.c Makefile.am

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 24 Apr 2007 09:53:51 +0200

tis 2007-04-24 klockan 00:30 -0600 skrev Duane Wessels:

> Fix for compiling src/unlinkd.cc with kqueue and epoll.
>
> When Squid is compiled with --enable-kqueue or --enable-epoll, we're
> not supposed to use any fd_set structures. unlinkd.cc uses select()
> to pause and wait for for feedback from the external unlinkd helper.
> But when using kqueue or epoll, unlinkd.cc will have to use "usleep"
> emulation rather than select.

Hmm.. it's fine (and probably preferred) for the external daemon to use
select and fd_set. This restriction is just on code linked into the
squid binary.

Regards
Henrik

Received on Tue Apr 24 2007 - 01:53:59 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT