cURL / Mailing Lists / curl-library / Single Mail


Re: Is CURL struct thread-safe?

From: Daniel Stenberg <>
Date: Tue, 8 Dec 2009 23:07:04 +0100 (CET)

On Tue, 8 Dec 2009, Jonathan Wallace wrote:

> I may occasionally have 4-10 threads all using the same CURL instance. Can
> I do this, or will it screw something up?

If you by "the same CURL instance" mean the same handle returned by
curl_easy_init() then yes it will seriously screw things up:

You can still share stuff between multiple handles by using the share

List admin:
Received on 2009-12-08