From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92361 invoked by alias); 20 Nov 2019 13:30:25 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 92251 invoked by uid 89); 20 Nov 2019 13:30:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=our X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Nov 2019 13:30:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574256601; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=znBFCuSIlEoNqXU0yT+6DXHyo9c5oTz0CgCSkenElhQ=; b=R0/enhw/HV7pv1u/tDe1lBzt48j6/7WLVmmU3AoVGJBP+ygZzVyOsEfzz0l0BkbauQmFGT Y1ZPNFbdnyjt/VQg3M4PsHANLTIy2jDY3YCuwklyUDZGtTdrfZXIamqTERtShBJSjPC5dX RiDTKYH2h0Rjg3YbKPfnA+wpZSXibK0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-410-LF0p7t8HP264SBe33hcXOg-1; Wed, 20 Nov 2019 08:30:00 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 740C21883531; Wed, 20 Nov 2019 13:29:59 +0000 (UTC) Received: from redhat.com (ovpn-116-19.phx2.redhat.com [10.3.116.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53C1360493; Wed, 20 Nov 2019 13:29:59 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.92) (envelope-from ) id 1iXQ3R-0003zA-NF; Wed, 20 Nov 2019 08:29:57 -0500 Date: Wed, 20 Nov 2019 13:30:00 -0000 From: "Frank Ch. Eigler" To: Mark Wielaard Cc: elfutils-devel@sourceware.org, amerey@redhat.com Subject: Re: patch 1/2 debuginfod client Message-ID: <20191120132957.GC12001@redhat.com> References: <20191113232456.GA31583@redhat.com> <6d7430368a18c943f72bc3583efeafb2c192516f.camel@klomp.org> <20191116185256.GB19543@redhat.com> <356e88e4937ddb97a3e7cc93dbdfe29239ff960e.camel@klomp.org> <20191118203324.GD2880@redhat.com> <7ca3cc662684459fe21801344f0899f5108a8a70.camel@klomp.org> <20191119162034.GC4911@redhat.com> <20191119201520.GB3494@wildebeest.org> <20191119212211.GG4911@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: LF0p7t8HP264SBe33hcXOg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2019-q4/txt/msg00194.txt.bz2 Hi - > But it isn't just about interference with other libcurl activity. If > you look at the curl_global_init code you see that it actually calls > a lot of code in other libraries. It is the curl_global_init code > that shouldn't be run in a multi-threaded environment. That it is > acceptable to others doesn't immediately make it safe to use in our > case. [...] OK, I guess. Such concerns would be even better directed at the libraries that libcurl is using internally. > I assume you mean the second part. The attached is what I would propose > for the first part. Do you think that is a bad idea? It's mostly harmless, so if you like it, go for it. - FChE