cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FW: segfault in curl_formfree() in persistence run onRHEL5x86-64as 64 bit app

From: Pinakin Mevawala <Pinakin_Mevawala_at_symantec.com>
Date: Thu, 17 Dec 2009 16:33:46 +0530

>curl_global_init() is documented not to be thread-safe. If you use it
in more than one thread, you're on your own.

What if we our self provide synchronization between two threads for all
the CURL code starting from curl_global_init(ALL) to
curl_global_cleanup(). Will that be ok or as per the documentation, we
should call curl_global_init only once.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-17