cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl + openssl thread safety

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 6 Jul 2011 23:24:14 -0700

On Thu, Jul 07, 2011 at 11:29:37AM +0530, Arunkumar Manickam wrote:
> Is the application using libcurl responsible for setting these callbacks.

http://curl.haxx.se/docs/faq.html#Is_libcurl_thread_safe

> It would be nice if curl could take care of it.

libcurl has no idea which thread library or thread model your app will be
using, nor which mutual exclusion primitives are available. That's only
known by the application programmer and therefore must be set in the
application.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-07