cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Share interface locking

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 10 Jun 2006 23:57:15 +0200 (CEST)

On Sat, 10 Jun 2006, Peteris Krumins [Newsgroups] wrote:

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

That particular lock is used for locking internal data for the share
interface, but your callback will still be used for the actual lock. So yes,
it needs to deal with this in a similar way how it deals with the other locks.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-06-11