cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: does curl_multi handle can be accessed from 2 threads?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Sep 2006 20:17:35 +0200 (CEST)

On Fri, 1 Sep 2006, Tom Jerry wrote:

> The question is:
> can I use
> curl_multi_add_handle(multi_handle, http_handle);
> On this thread for adding new requests to process?
> Is it thread safe?

It is thread-safe, but you can only use the single multi handle in one thread
at a time, not simultanouesly.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-09-01