curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about curl_multi_remove_handle()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 10 Dec 2016 04:38:46 +0100 (CET)

On Fri, 9 Dec 2016, Andreas Hollaus wrote:

> Are those callback functions triggered by the call to curl_multi_perform()?

Yes.
>
> If so, did I understand you correct that curl_multi_perform() won't return
> until all callback functions have been completed (they are running
> synchronously in the same thread as curl_multi_perform())?

Correct. libcurl doesn't start any new threads apart from doing name resolves
(if built like that).

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-12-10