| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Busy looping bug in multi_socket interface
From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 30 Apr 2008 03:35:03 +0200
2008/4/30, Jamie Lokier wrote:
> [...] changing to microseconds reduces the
Good point there !
Here goes an idea for the key data type...
Using a compound key of two 'long' data types would be portable safe.
The 'compare' macro would be little bit more involved since it would
#define compare(Kis,Kiu,Kjs,Kju) (((Kis)==(Kjs))?(Kiu)-(Kju):(Kis)-(Kjs))
And functions would simply change to something similar like:
struct Curl_tree *Curl_splay(long ks, long ku, struct Curl_tree *t);
Clear enough to grab the idea ?
-- -=[Yang]=-Received on 2008-04-30 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info