cURL / Mailing Lists / curl-library / Single Mail

curl-library

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