cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Tom Jerry <catod6_at_gmail.com>
Date: Sat, 2 Sep 2006 10:58:53 +0200

Yes, that's what I ment, a mutex.
I will try that. thanks.

On 9/1/06, Daniel Stenberg < daniel_at_haxx.se> wrote:
>
> On Fri, 1 Sep 2006, Tom Jerry wrote:
>
> > So will it help if I lock the multi handle before accessing it on both
> > threads?
>
> lock? It will work if you have a mutex around your use of the multi
> handle,
> sure.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2006-09-02