cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_global_init performance

From: Daniel Stenberg <daniel_at_haxx.se>
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.html
Received on 2013-08-29