public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Stenberg <daniel@haxx.se>
To: Mark Wielaard via curl-library <curl-library@lists.haxx.se>
Cc: Mark Wielaard <mark@klomp.org>, elfutils-devel@sourceware.org
Subject: Re: Using libcurl in another library, when/if to call curl_global_init?
Date: Tue, 5 Apr 2022 17:36:08 +0200 (CEST)	[thread overview]
Message-ID: <r9ssr90-297n-p0r9-q848-qs3sops958p1@unkk.fr> (raw)
In-Reply-To: <1ea188affb14c7b55ec1d54fe95627d83e730bb4.camel@klomp.org>

On Thu, 31 Mar 2022, Mark Wielaard via curl-library wrote:

> But we are struggling a bit with how to safely/correctly initialize libcurl.

Are you struggling to meet the requirement as per the documentation or are you 
seeing actual runtime issues?

There isn't much left in the third party libraries that isn't threadsafe so 
I'm quite interested in knowing. The "not thread-safe" part is mostly 
theoretic now with modern versions of libraries (such as OpenSSL).

-- 

  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html

  parent reply	other threads:[~2022-04-05 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31 12:04 Mark Wielaard
     [not found] ` <b424b435-482d-7d24-4337-8ef7437ab05c@mega.nz>
2022-03-31 13:19   ` Mark Wielaard
2022-04-05 15:24     ` Florian Weimer
2022-04-22 22:14     ` Mark Wielaard
2022-04-05 15:36 ` Daniel Stenberg [this message]
2022-04-05 16:19   ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=r9ssr90-297n-p0r9-q848-qs3sops958p1@unkk.fr \
    --to=daniel@haxx.se \
    --cc=curl-library@lists.haxx.se \
    --cc=elfutils-devel@sourceware.org \
    --cc=mark@klomp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).