cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: weird timings from curl_easy_getinfo

From: Oleg Bartunov <oleg_at_sai.msu.su>
Date: Thu, 9 Aug 2001 16:57:36 +0300 (GMT)

On Thu, 9 Aug 2001, Daniel Stenberg wrote:

> On Thu, 9 Aug 2001, Oleg Bartunov wrote:
>
> > Looks that libcurl needed too much work to be thread-safe
>
> Why do you say that? I could clearly see it running and downloading a large
> number of file simultanously.
>

Sorry, I should be more specific. My purpose to use libcurl was not
downloading a large number of files simultaneously but to collect
a timing statistics for my research. No problem to download files
simultaneously. The more I read about signals+thread the more
pessimistic ...

> > btw, all experiments I did under Linux, which uses user space threads,
> > so I just tried FreeBSD. I compiled libcurl and my program with following
> > options:
>
> It seems that in order to make libcurl do nice multithreading on FreeBSD you
> must do some manual fiddling.
>
> You will be interested in the following bug report, titled "libtool broken on
> freebsd" posted by Sandro Tolaini:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=441735&group_id=976&atid=100976
>
> I don't have a solution for this, other than the one Sandro mentions in his
> report.
>

great ! This is exactly my case:

17:48:03[megera_at_maze]~/app/runet/devil>ldd a.out
a.out:
        libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x68065000)
        libc_r.so.4 => /usr/lib/libc_r.so.4 (0x68086000)
        libssl.so.2 => /usr/lib/libssl.so.2 (0x68139000)
        libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x68165000)
        libc.so.4 => /usr/lib/libc.so.4 (0x6821c000)

>

        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-09