In case some people want to try this code out.
Adrian
----- Forwarded message from adri <adri@users.sourceforge.net> -----
Date: Fri, 4 Aug 2000 10:57:54 -0700
To: squid-cvs@lists.sourceforge.net
From: adri <adri@users.sourceforge.net>
Subject: [Squid-cvs] commloops squid/src comm_poll.c
Update of /cvsroot/squid/squid/src
Modified Files:
Tag: commloops
comm_poll.c
Log Message:
An attempt at optimising the poll code. Instead of a single pollfd set, there
are NPOLL fd sets (defined in src/comm_poll.c for the time being) which
define how many FD sets they are.
The FDs are placed inside the fdset by a simple modulus NPOLL, evenly
distributing the FDs between the fdsets. A call to comm_select() now
polls a single fdset, rather than all.
I have to fix a little code in comm_select() which checks whether
there are no FDs and only allows it during a shutdown. This definitely
needs to be fixed, but doesn't impact normal operation.
This is based upon ideas from Andreas and Dancer, and initial coding from
Benno. If you want the details, squid-dev mailing list archives are your
friend.
_______________________________________________
Squid-cvs mailing list
Squid-cvs@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/squid-cvs
----- End forwarded message -----
-- Adrian Chadd "If Pascal was elite it would be cool, <adrian@creative.net.au> but it isn't, so its not." -Joshua GoodallReceived on Fri Aug 04 2000 - 12:07:45 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:34 MST