cURL / Mailing Lists / curl-library / Single Mail

curl-library

how to write the lock funcition in share interface

From: Yi Li <Michael.li_at_playstarmusic.com>
Date: Wed, 18 Jan 2006 11:46:19 -0700

Hi,

I try to use the share interface to share the DNS cache within a
multi_threads environment.

my question is
what is the data and access in

void lock_function(CURL *handle, curl_lock_data data, curl_lock_access
access, void *userptr);

Could some one give a simple exampe code for share interface please?

thanks!

Michael
Received on 2006-01-18