curl-library
Re: curl_global_init performance
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Aug 2013 22:40:54 +0200 (CEST)
Date: Thu, 29 Aug 2013 22:40:54 +0200 (CEST)
On Thu, 29 Aug 2013, Tim Ruehsen wrote:
> Wouldn't be the typical init stuff in this case look like
>
> #ifdef HAVE_THREADS
> static int init;
> mutex lock
Yes, but that opens the usual can of worms with threads, different platforms
and different threading systems etc and we've managed to avoid threads for so
long in libcurl...
Exactly how long time are we actually talking about here, the specific
SSL_load_error_strings() call I mean?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-08-29