httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@liege.ICS.UCI.EDU>
Subject Re: Patch for new Timeouts
Date Tue, 21 Jan 1997 17:15:51 GMT
>> 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 ;-)

He'd just prove that any other method reduces to the same. :P

Anyway, I assumed in C for Apache without messin with the kernel ...


View raw message