cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLOPT_SHARE documentation question

From: Gary Maxwell <gmaxwell_at_casabi.com>
Date: Fri, 20 Mar 2009 16:04:50 -0700

Daniel Stenberg on March 20, 2009 3:53 PM:
>
> On Fri, 20 Mar 2009, Gary Maxwell wrote:
>
> > "If the curl handles are used simultaneously, you MUST use the
> locking
> > methods in the share handle."
> >
> > Is the following more accurate?
> >
> > "If the curl handles are used simultaneously *in multiple threads*,
> you MUST
> > use the locking methods in the share handle."
>
> Quite so. Thanks, I'll update this if you just tell me more specificly
> where
> you found it! ;-)
>

Doh! Should have thought of that!

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTSHARE (first
paragraph)
Received on 2009-03-21