Skip to content

Commit

Permalink
curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jay committed Jul 31, 2015
1 parent 0da1f5d commit 23b84e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/libcurl/curl_global_init_mem.3
Expand Up @@ -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);"
Expand Down

0 comments on commit 23b84e4

Please sign in to comment.