1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

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
This commit is contained in:
Jay Satiro 2015-07-31 02:38:44 -04:00
parent 0da1f5dc5c
commit 23b84e448f

View File

@ -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);"