cURL / Mailing Lists / curl-library / Single Mail


block process when call curl_easy_perform

From: guilherme linhares <>
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:
Received on 2011-10-13