From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekiedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Oct 2021 08:50:58 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, "Richardson, Bruce" , "Power, Ciara" Date: Fri, 01 Oct 2021 14:50:57 +0200 Message-ID: <1739550.86J73fpY7l@thomas> In-Reply-To: References: <20210819023819.1709957-1-stephen@networkplumber.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > >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 > >--- > > lib/telemetry/telemetry.c | 2 ++ > > lib/telemetry/telemetry_legacy.c | 1 + > > 2 files changed, 3 insertions(+) > > > > > Thanks for catching this, > > Acked-by: Ciara Power Applied, thanks.