DaedalusAlpha
DaedalusAlpha

Reputation: 1737

Libcurl multithreaded precautions necessary in libcurl multi interface?

When using libcurl multithreaded there is a long list of potential problems that can come and bite you in the ass if you're not careful:

https://curl.haxx.se/libcurl/c/threadsafe.html

What I wonder is simply if the same applies when using the libcurl multi-interface?

https://curl.haxx.se/libcurl/c/libcurl-multi.html

I would assume that is not the case as the multi-interface runs on the same thread, but I'm not sure, and I can't find it mentioned in the documentation.

Upvotes: 1

Views: 134

Answers (1)

Daniel Stenberg
Daniel Stenberg

Reputation: 58114

No, it doesn't apply exactly for the reasons you state: the multi interface is not using multi-threading by itself.

Upvotes: 2

Related Questions