cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Thread Safe CAllback

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 25 Nov 2003 08:19:13 +0100 (CET)

On Tue, 25 Nov 2003, Ryan Luyao wrote:

> I have been using the callback function which i got from the examples. Since
> it is not thread safe, do you guys have some thread safe callback function
> that i can use?

Uh? The write callback is as thread-safe as you make it. I mean, it is called
and used in a thread-safe manner by libcurl so unless you do something truly
weird, it will remain so.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-25