curl-library
Re: Multi-therading problems with libcurl on Solaris?
Date: Fri, 16 Jan 2004 09:29:46 +0100 (CET)
On Thu, 15 Jan 2004, Halsur Sreekantaswamy wrote:
> I am planning to use libcurl in my multithreaded application (If I cann't, I
> have to find some other library very soon or develop an http client myself).
> If anyone has been able to get the example multithread.c working on Solaris,
> or has any other multitheraded application working, I would appreciate if
> you let me know what I need to do.
I just tried it myself (again) to be really sure. It (the multithread.c
example) works nicely on my Solaris 7 machine. I doubt Solaris 8 works a lot
different in this aspect.
My guess (since you don't provide enough info): you're not providing the
proper libraries (like -lpthread) to ld when you link the tool.
So, implementing your own http client, while fun to do, will not change
anything but will only show you the same problem but with a lot more work...
-- 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/osdnReceived on 2004-01-16