cURL / Mailing Lists / curl-library / Single Mail

curl-library

Multi-threading

From: Julien <eldebaran_at_gmail.com>
Date: Wed, 28 Sep 2011 17:22:22 +0200

Hi,

I am not sure to understand correctly what the limitations of lib-curl
are in a multi-threaded environment.

According to the programming tutorial, it is quite clear that a handle
cannot be used simultaneously by several threads.

However, provided simultaneous access is guaranteed not to happen
(e.g. thanks to locking mechanisms), is it allowed to use the same
handle through different threads during its lifetime?

Thank you in advance,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-28