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

Share interface locking

From: Peteris Krumins [Newsgroups] <pknewsgroups_at_gmail.com>
Date: Sat, 10 Jun 2006 03:11:31 +0300

 Hello!

 Suppose I share DNS and Cookie data in a multi-threaded program.
 Documentation tells me that I need to handle locking of
CURL_LOCK_DATA_DNS and
 CURL_LOCK_DATA_COOKIE.
 
 Looking at test lib506.c provides (illustrates) also locking of
CURL_LOCK_DATA_SHARE
 but the curl/curl.h header tells that CURL_LOCK_DATA_SHARE is used
internally.

 Do I have to care about this CURL_LOCK_DATA_SHARE in my lock/unlock
callbacks?

Thanks.
P.Krumins
Received on 2006-06-10

These mail archives are generated by hypermail.

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

File upload with ASP.NET