On Fri, 16 Dec 2011, Ben LeMasurier wrote:

I'm working with a threaded application with a single shared
multi-handle utilizing the hiper interface. Is it possible to
synchronously wait for completion of a given easy_handle within the
multi interface?

CURL *easy = curl_easy_init();
...
curl_multi_add_handle(hiper_handle, easy);
// wait for `easy` to complete
// process data from the easy handles CURLOPT_WRITEDATA

Why use the multi interface to start with if you only a synchronous call?

But no, the multi interface is non-blocking so you need to implement a wrapper function yourself that would do a single transfer in a synchronous way.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to