You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran a multi-threaded app that uses libcurl under Clang 3.9 ThreadSanitizer.
I expected the following
Clean operation.
curl/libcurl version
7.44
operating system
Ubuntu 14.04, x86_64.
I encountered a data race with two threads calling Curl_ipv6works() at the same time. I think perhaps the call to Curl_ipv6works() should be moved into curl_global_init() to avoid this.
The text was updated successfully, but these errors were encountered:
- Curl_ipv6works() is not thread-safe until after the first call, so
call it once during global init to avoid a possible race condition.
Bug: #915
PR: #918
I did this
I ran a multi-threaded app that uses libcurl under Clang 3.9 ThreadSanitizer.
I expected the following
Clean operation.
curl/libcurl version
7.44
operating system
Ubuntu 14.04, x86_64.
I encountered a data race with two threads calling Curl_ipv6works() at the same time. I think perhaps the call to Curl_ipv6works() should be moved into curl_global_init() to avoid this.
The text was updated successfully, but these errors were encountered: