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 2E510A0C4B; Fri, 20 Aug 2021 10:50:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7BC941139; Fri, 20 Aug 2021 10:49:59 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0205B4013F for ; Fri, 20 Aug 2021 10:49:57 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="196995249" X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="196995249" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 01:49:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="532918915" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga002.fm.intel.com with ESMTP; 20 Aug 2021 01:49:56 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 20 Aug 2021 01:49:56 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Fri, 20 Aug 2021 01:49:56 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 20 Aug 2021 01:49:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZS09v0lbmklFq0kL2Fm+FFRi1LFvNWj3vUlpPPNjTnGqV+Jvlj/PFquJ9YZpMBDVrwMkXK9KmH4O/LYpe0MbRvqc/zc3ZreY93+Q4o3Y6216PqFetQAsVU5I3qHmT5MnaO7P4lfIn6OPOKChCSdVbHcnmvCT04RmAgoBUl3bQY7D9j/YXNxoRppWPmcYFA8lX7BZdsb7XnspO+cELV5+HmuZ6FzQCIiWWxLh1aXxaf5tuRY+Irm2dfT/C3nda6cXPAWtHwt1RQKicvd1E0357HXEokCycYBQnt3ctFbGQarmpnDiLrpkf1pD8IsT/l1Z+OxcQjUC8dbYb7mytFxX2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swe0RF1V5yjod/RPQP467H/DzUhFmy6NzS2rOrs92us=; b=RUThLyHoklE93vlatc6mVmx0eub1ZRE5z5kDVzdz7uHoGerjm5WskS7ztUjCpn5YUF89PHvvTiy9KkhB6WKc+xAP2Dx41dbpXcIJ1eVtwKfwYOnkngejMYT7ZgK1ZdoHwR5zQPR9tUou0NTkfNodujRXfv32e29zEFyWOGxVuv2lbISVc2m/CGMw/7qQcsTFyRrS63GvU6p5Yn5Lv4yDxhSsauYFqnk36X+OmKViozoXyVvEuoy8sF6CL4NlAMeOPe3tfyulddCn+omso0A+aRZ9y1wPC/vFanjnwNlNJBMQ/Fozen1+p9evte1kbS3AB+s37xThhi+4OO+7aDPCnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swe0RF1V5yjod/RPQP467H/DzUhFmy6NzS2rOrs92us=; b=jjlOI0xlPdazWMsvm+U797fllTbNaiglOIbNNVW/Vw+TzTc6559Psabjtqwt41s5GW2vWhuEYPsFyAg5BjFJr9aWI9w9tId2X4XCHK8AA9nbrezG2YeqfsRq4bMO4kL6/3SBijPMqAizrQWyBwsq7SOMRh7ofxrs1es8w4aHaNg= Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by MN2PR11MB4013.namprd11.prod.outlook.com (2603:10b6:208:13e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Fri, 20 Aug 2021 08:49:54 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::ec2a:14c6:a7de:bcb3]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::ec2a:14c6:a7de:bcb3%6]) with mapi id 15.20.4436.019; Fri, 20 Aug 2021 08:49:54 +0000 From: "Power, Ciara" To: Stephen Hemminger CC: "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [PATCH] telemetry: detach pthreads Thread-Index: AQHXlKNKQQGRZQD/gE+JeRlipvEtqKt8FvxA Date: Fri, 20 Aug 2021 08:49:54 +0000 Message-ID: References: <20210819023819.1709957-1-stephen@networkplumber.org> In-Reply-To: <20210819023819.1709957-1-stephen@networkplumber.org> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39e06c77-c828-4682-c7e7-08d963b77b04 x-ms-traffictypediagnostic: MN2PR11MB4013: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mnvVD9hPXJ1KrBEX9/16AMiwced950xfbcnwmC3a02VU9K4EchiSflIVrg/Rl9duT8jF6kCzQuAeZCvSrZdtWsplw4iiFAYalUzGfjaLHCLhtNWVDuIJxl/yducD+xGzLVrd02ggpeXMM9ftCFE5HaC/kssbJkiqbzvrriUv8TqjUp9UDlNh/y2E3XsoLh6CNjH+okKOpIhIZ/t/pFHMgnisrAmFT9e1bRm9RjwqvUQaEhPLMpkcAmP2xRXMSfhFV+muqV/Eh81GOG4J6dn3JN/HhySvQeLg4e5rjq9olQanbZdH6cNZMgllSVUZ4C1t7D0AeT2+SMz9+zVT7WUkRvis7IfHoU1odTJGDMMlmcnam52ExoGFgFSXub1/sPo1guPIHzBd2+hKINADVZrP+G+Vaui5RGcBgSWi2IrOfzl+fUpFlwAcKUF6jx+1VtYULAwJVnbfHbaQa9fvVSXU/JL3pn9bvx7aIVBH+p6c6PLcNfXGbjqJ6338BoW0hR7DAJ896u3uAxYvvzpgW7ip84BsJYU8y1xQlQm1ZPaod3ch32z3nQYjavqWjTEW2xd4TPA/grRONMX7M3J87We5KM1vsZ3xTG8vsfylp1ABoTzW6zGqimWfQQyOlflomi32cxQfPeIvMvHiWf6FKGwsvZm77qZ+m62Om4EqW8jADoGc7f4KwjPgcXUtXtaAz8Db47Z0+4DBeeiTBoxLnDWsHQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(136003)(366004)(346002)(396003)(7696005)(66946007)(107886003)(5660300002)(52536014)(66476007)(4744005)(71200400001)(33656002)(316002)(8936002)(2906002)(76116006)(186003)(9686003)(64756008)(38100700002)(86362001)(8676002)(54906003)(478600001)(122000001)(26005)(55016002)(4326008)(6916009)(38070700005)(6506007)(83380400001)(66556008)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1nANi0aBnvrfb2zeJZxIX33aJPAvgB2ccp5LlUGK/Uf+hatQICFbCAMDwfJO?= =?us-ascii?Q?c4uPo9y8Cwm1sim5QU14d4556aCBvB45WHXBKya9g3JcpFSb/qFewwE39BXs?= =?us-ascii?Q?Dn1iVdiByKYqaiNGqt/LLLZFIWEllAOAZyqARWvNmCKi8b4NPtu36rjmxVTb?= =?us-ascii?Q?+iTLw8+rZdHNu+uKrCi5f/aabFWFs8l/r9Hji5klIdg1+fecl/QBfUGKebxZ?= =?us-ascii?Q?Bw/scx3GFB0Mwtd2WjaUtPF+9pvFpcPgkjqXi6S3y12sK6mqqJo95grD/E4e?= =?us-ascii?Q?gqcwAPbblsLBVECS7WBGD58Ju41oA+egMB79CtZa3idopjt5cWSaUOpnNiY4?= =?us-ascii?Q?izvETAp3pBxdx4WEBYwHnIR3wU0v1ZP72+gu78CwropjILkRcx5G19ciZUeL?= =?us-ascii?Q?/MoNFLXGH64GuUT6OC6EfgiMBYCw9HiW5JnzctxGmQ6eA4UmArUj9xcs5WVv?= =?us-ascii?Q?xawJ7c/8GLDBYzakT7AmUSI8ysTzuzRMNOYw6Peq7oMjLwdoinjVPd+L71d9?= =?us-ascii?Q?euOAWsyUqa8ef/tiML5rBvv0xSf16H19YmtplqutS8l46gr62iH4MFjjo6Sc?= =?us-ascii?Q?y3F7Jh4yGXkZfUTXzYM/naUEi+U00Gr9oE2fMWxgNbI+GKfdaHTsvVVk7jw4?= =?us-ascii?Q?zBDp01A4JKkjqyOeyXaHQ0vwbmMuUJXK/qQNvDmEhFsaVT2tWcJUA1AahW/z?= =?us-ascii?Q?AA9BgsSADEoyDDNfzTRejpcV2YQ03HilquQc0CHgda11Fr3iL1GmngtPmXRk?= =?us-ascii?Q?pZoc9/uIIOY/6u/q8TsVJmuhROY5f/0zxmzGh+8qh5uye3Qfl9wbdensA0VN?= =?us-ascii?Q?iSGvDwPLvasnL6/qbaTQnFDHTTUg5s/fwCFB4ucHmuSujgUIz1qx943zodEI?= =?us-ascii?Q?oJyZSTpegGjwjidRxPAq52+7cLEirjTXcBrH9SAI1gfDxnG2phfRwBjgibR6?= =?us-ascii?Q?eHvuyp9RKv5whu6yIRtzFo0DHrja6Q0Ts4hdWxt9sPGyHH8ZutNZq5BKiHSw?= =?us-ascii?Q?LVLhfjDp9qeyzEIoy0mAxW+VCLKCXjpjnSf9PYTcLcDScl0jQnOJXOMphwkR?= =?us-ascii?Q?KppQu/QqhWnXeG89gcz6iFYEGhKyS2aJclPTPeeY/ytrDkZvoAF3XRYNASeZ?= =?us-ascii?Q?0Z9wmqhtja9T+aW6hdzk/MDkHw3p/gMWm8rrmUJjDibAYqbE6G9j23SJ1G9N?= =?us-ascii?Q?CMjqOt9EOYvKH3+d4LqHJzd3b1vTqpAuryZ5QjI/10uJgtZ6YuyaHz5w/bkV?= =?us-ascii?Q?cwuEC9ifSe6+QT1l9taKlfssOWp/VUyeudwYbYgRgr3KXxSSwkzbXpQGU5Ai?= =?us-ascii?Q?shpVM0IKLLZRSaguiDIDSiwP?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39e06c77-c828-4682-c7e7-08d963b77b04 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Aug 2021 08:49:54.2932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NKfCRLK+YRryNjWfUKuGR6R9RwDEhVvGcKmOfiOADG0767VjbNhRYbAf6K8xkDRuBvFzpjVM7GsqBEvZneEbgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4013 X-OriginatorOrg: intel.com 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" Hi Stephen, >-----Original Message----- >From: Stephen Hemminger >Sent: Thursday 19 August 2021 03:38 >To: Power, Ciara >Cc: dev@dpdk.org; Stephen Hemminger >Subject: [PATCH] telemetry: detach pthreads > >There are a number telemetry threads which are created and there is nothin= g >that does pthread_join() to wait for them. >Mark these threads as detached, so that the pthread library can cleanup st= ate >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