From: Jay Satiro Date: Fri, 31 Jul 2015 06:38:44 +0000 (-0400) Subject: curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs X-Git-Tag: curl-7_44_0~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23b84e448f97cc5c4f46d3d4021d53396f08dc3c;p=curl curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html Reported-by: Eric Ridge --- diff --git a/docs/libcurl/curl_global_init_mem.3 b/docs/libcurl/curl_global_init_mem.3 index 491550e22..a21e63d8b 100644 --- a/docs/libcurl/curl_global_init_mem.3 +++ b/docs/libcurl/curl_global_init_mem.3 @@ -37,8 +37,9 @@ allows the application to set callbacks to replace the otherwise used internal memory functions. When you use this function, all callback arguments must be set to valid -function pointers. \fBIf you are using libcurl with multiple threads the -callback replacement functions must be thread safe.\fP +function pointers. \fBIf you are using libcurl from multiple threads or with +the threaded resolver (the default in Windows) the callback replacement +functions must be thread safe.\fP The prototypes for the given callbacks should match these: .IP "void *malloc_callback(size_t size);"