Re: using threads in libwww

Hi,

Is this possible in libwww, as we are also using libww for RDF parsing. So we
can't get away with
this to new one right now.

So far I've about known from libww mailing lists that even in multithreading the
requests have
to be serialized among the threads. Hence from a single multithreaded
application the effect
would not be better than as done in a single threaded (virtually no threads)
application.
But my problem is by creating a thread and posting data to server on this thread
is not working.
why?

Thanks,
Manoj





Daniel Stenberg <daniel@haxx.se> on 10/08/2002 09:09:50 PM

To:   Manoj Nautiyal/HSS@HSS
cc:   www-lib@w3.org

Subject:  Re: using threads in libwww





On Tue, 8 Oct 2002 mnautiyal@hss.hns.com wrote:

> Please advise how can I get the post successful using thread?

I realize this is not strictly speaking an answer to your question, but for
most people this would be more easier done using libcurl
(http://curl.haxx.se/libcurl/), which also happens to be thread-safe and
requires less code for the same result.

libcurl does not offer a full libwww replacement. It is fairly lightweight in
comparison.

Then again I'm biased, I'm the main author of libcurl.

I'll go back and hide again now.

--
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

Received on Tuesday, 8 October 2002 12:04:05 UTC