cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Code of getinmemory.c example thread safe?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 23 Feb 2004 08:19:09 +0100 (CET)

On Sun, 22 Feb 2004, Holger Rauch wrote:

> Is the code of getinmemory.c (specifically the implementation of the
> WriteMemoryCallback function) thread-safe? If not, what would be the
> necessary changes so that it is thread-safe?

It is thread-safe, yes.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-23