From 23b84e448f97cc5c4f46d3d4021d53396f08dc3c Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Fri, 31 Jul 2015 02:38:44 -0400 Subject: [PATCH] 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 --- docs/libcurl/curl_global_init_mem.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/libcurl/curl_global_init_mem.3 b/docs/libcurl/curl_global_init_mem.3 index 491550e2270b0d..a21e63d8bd166d 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);"