cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multi-therading problems with libcurl on Solaris?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 17 Jan 2004 12:01:29 +0100 (CET)

On Fri, 16 Jan 2004, Halsur Sreekantaswamy wrote:

> I really don't want to spend time writing my own http client. libcurl fits
> my needs, but I have to resolve this multithreading problem I am facing.

... but they aren't related to the http client code, so you'll face the same
problems even if you rewrite it all!

> I am attaching my Makefile and also multithread.c (I have just added error
> checking for curl_easy_perofrm). I have included lpthread library. As I
> mentioned earlier, it compiles fine and when I run it, it doesn't print the
> html output. Please go through my Makefile and let me know what I am
> missing.

I'm attaching the makefile I used to test this in my end, they differ somewhat
due to the different build options and the fact that I linked with my
development version of libcurl...

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

Received on 2004-01-17