cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

CURLOPT_SHARE documentation question

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

I just finished porting my app from only using the easy interface to now
use the multi and share interfaces (both work great, btw), but the
following sentence in the online docs for
curl_easy_setopt(CURLOPT_SHARE) seems inconsistent with the share
interface documentation:

"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."

Thanks,
GaryM at Casabi
Received on 2009-03-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET