From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4BECA0032; Fri, 1 Oct 2021 14:51:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 342F84117E; Fri, 1 Oct 2021 14:51:01 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id D8F5B4115E for <dev@dpdk.org>; Fri, 1 Oct 2021 14:50:59 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 846145C00A6; Fri, 1 Oct 2021 08:50:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 01 Oct 2021 08:50:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= tBuewlYu60tyrCVCcj8cVjJ6IaEu/RFIDCCBBN05DeU=; b=ciWd50BcAg+cDZUN O3wWcZRS2HB+5RH7moKSh7LIZx4Eye14h4PZwhIbnGB1Ty+bbj37R3M3GtparaK0 MJKEXowt8czK/wSANA0/KeIdJO3Oziv+VOwXrghEgd5IkgEwsRywioEF8/3wv0Ht HRUZERFOffEDYYcnykgRmVvFYJzRpAJyRoAcKuoC1DhY4EFbxhQLF1jjXr4+OeNZ qtBM1+C/mQwIF4uGDdbxvZI2rkaUvOGupExHo/DMzZxDgWu5AVVDOXBCtXFlx0uZ upRMHIF+pvG/Uk1N9WfWqqqKquUtl3vMxmQPOzBjFrlGDBfy3v5ziHuPHcBIrrES vA1LKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=tBuewlYu60tyrCVCcj8cVjJ6IaEu/RFIDCCBBN05D eU=; b=VtY5zlOoiHg3okoqLnj0D1kYcDP6rxEa8cN0qHITBBmpSXAVEeZP5sRjW +dAlg1rX7uEGPi6ydA5i75Yh+Rw5rvIHTHuW4NsMHLDfosykLL1O9nWdTQRZXz3p wgyxBRQrdg1i1Sb7Ii52DSe1exVyqpwSHpEkbj7LvWFWGQzKYX44MjLPlR5IdTXm qAxPPokMAOZpZyq0C65S02HFYKgyMeujdulLWjBi+tqv0BcuDPX3yl9avqwjlHfR XGUIYCRve7tOi2gd8kVVlhr1cnzjo3fVDwpOOfQTGO5QsCZHhpNUbhWe222a1F86 V0AvYjB7CPkALLoZhF693NG9c/lMw== X-ME-Sender: <xms:MwRXYdGVcDqTWdq0-dmRocLlVEhIB9tK8aGpRgQk2HzEar-bWWTDbw> <xme:MwRXYSWsK6sEoYSE7z3FM_FpWANyHibNbcqYsjnW5TXm-JQ6dNDAO6IYx3dZu4CV9 UBj1fNY6yEi3Glumw> X-ME-Received: <xmr:MwRXYfLhvd1YJbdCc4C3FJyM_sZFpVjmBq_MJ60o_fmgrs6zSc8cIWIXtMQopkoDvxd8vy9ZP6KiD1s_JpObErIwMg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekiedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: <xmx:MwRXYTEM1G7lZrw0MSNQJD3xD7dIUDg8a30BhLwRbzrqQfgyNQQA4Q> <xmx:MwRXYTX7rKokfcIJO6xc4hz9k8mIhFLvXcymcVUiN4gJwliW6Jv4QA> <xmx:MwRXYeMvGyF_82mTNZ5ZkKGJoi9LPF58NPtMCnlCMMpIauGuTGZ05w> <xmx:MwRXYQhaxmZ8qC99rJtIy1esO7L1uSOoKQtA79I531weFx2_zHK2-A> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Oct 2021 08:50:58 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: Stephen Hemminger <stephen@networkplumber.org> Cc: dev@dpdk.org, "Richardson, Bruce" <bruce.richardson@intel.com>, "Power, Ciara" <ciara.power@intel.com> Date: Fri, 01 Oct 2021 14:50:57 +0200 Message-ID: <1739550.86J73fpY7l@thomas> In-Reply-To: <MN2PR11MB38218D7996741DDACD8CE08EE6C19@MN2PR11MB3821.namprd11.prod.outlook.com> References: <20210819023819.1709957-1-stephen@networkplumber.org> <MN2PR11MB38218D7996741DDACD8CE08EE6C19@MN2PR11MB3821.namprd11.prod.outlook.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] telemetry: detach pthreads X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> > >There are a number telemetry threads which are created and there is nothing > >that does pthread_join() to wait for them. > >Mark these threads as detached, so that the pthread library can cleanup state > >when the thread exits. > > > >Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> > >--- > > lib/telemetry/telemetry.c | 2 ++ > > lib/telemetry/telemetry_legacy.c | 1 + > > 2 files changed, 3 insertions(+) > > > <snip> > > Thanks for catching this, > > Acked-by: Ciara Power <ciara.power@intel.com> Applied, thanks.