Date: Thu, 25 Sep 1997 02:53:40 +1000 From: Bruce Evans <bde@zeta.org.au> To: gibbs@plutotech.com, nate@mt.sri.com Cc: bde@zeta.org.au, current@freebsd.org, julian@whistle.com, tlambert@primenet.com Subject: Re: new timeout routines Message-ID: <199709241653.CAA03721@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>Build a hash list that uses the (fn, args) parameter at timeout time >>(which is what the result of the cookie is), and then get to the timeout >>via hashing back on this with untimeout(fn, args). No need for the >>drivers to hold onto the cookie, since you have all the necessary >>information. > >No-one said this wasn't possible. It just takes additional space and >makes untimeout's running time non-deterministic. I decided it was >an unacceptable tradeoff. Actually, it could take less space since it wouldn't take any space for cookies (use a non-chained hash table to take no more space in the callout table or a chained hash table to give less non-determinacy). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709241653.CAA03721>