httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: Patch for new Timeouts
Date Tue, 21 Jan 1997 14:51:04 GMT
Roy T. Fielding wrote:
> 
> I don't like this one, sorry.  You can only have one active alarm
> at a time, and doing a string comparison to determine which alarm
> should be set is very bad.  The only valid way to do multiple timeouts
> is to maintain an alarm table, select which alarm(s) are being set
> with a bitmask, and call alarm() with the lowest table entry which
> is greater than zero.

The only valid way is a table and a bitmask, eh? Better let Knuth know - that's
at least one volume made redundant ;-)

But seriously, I agree with the sentiment if not the method.

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message