cURL / Mailing Lists / curl-library / Single Mail

curl-library

block process when call curl_easy_perform

From: guilherme linhares <guilherme.linhares_at_digitro.com.br>
Date: Thu, 13 Oct 2011 10:04:17 -0300
Hey Guys.
I'm having
some problems with the use of libcurl.
In my program I have some internal processes (control, configuration, calls [thread N])
I created an environment for communication between these processes. In this environment called the function curl_global_ini and declared my array with information about the handles (struct).
I use the libcurl functions in the process (call [N]).
When I call the function res = curl_easy_perform (curl), the communication environment is blocked.

This is expected? There should be thread-safe?
I have to use a exclusive thread for this function?

Best regards.
Guilherme Linhares

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