cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Busy looping bug in multi_socket interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 May 2008 00:24:44 +0200 (CEST)

On Tue, 29 Apr 2008, Christopher Palow wrote:

> Itıs a fair point once system calls become sub microsecond weıd start busy
> looping again.

Indeed, but until we fix it the proper way we can at least lower the time it
will do this. Then we can proceed and work out a system that prevents the
looping all together. I don't think the increasing of the resolution is a bad
thing anyway.

> Why not just a struct timeval for the key? Itıs basically two longs.

Seems like a good idea to me!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-06