cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Thread safety

From: Konstantin Miller <konstantin.miller_at_googlemail.com>
Date: Mon, 11 Jun 2012 17:37:28 +0200

Dear all,

the libcurl tutorial states that "libcurl is completely thread safe, except
for two issues: signals and SSL/TLS handlers". On the other hand, the
description of curl_global_init states: "This function is not thread
safe. You must not call it when any other thread in the program (i.e. a
thread sharing the same memory) is running. This doesn't just mean no other
thread that is using libcurl."

What is right?

Thanks!

Best,
Konstantin

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-11

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET