]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: make curl_global_init() threadsafe when possible
authorThomas Guillem <thomas@gllm.fr>
Tue, 5 Apr 2022 13:46:03 +0000 (15:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Jun 2022 11:34:03 +0000 (13:34 +0200)
commit23af112f5556d6a785c17e09f2422ac931405f61
tree7da52fda05efd040e5df0c766c462a8020ec341e
parent134963a5efdc3906257c88ce62dba8d46c292908
lib: make curl_global_init() threadsafe when possible

Use a posix pthread or a Windows SRWLOCK to lock curl_global_init*() and
curl_global_cleanup().

Closes #8680
configure.ac
lib/Makefile.inc
lib/easy.c
lib/easy_lock.h [new file with mode: 0644]
m4/curl-functions.m4