From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 597C6A0525; Fri, 21 Feb 2020 13:28:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8A981BFAC; Fri, 21 Feb 2020 13:28:49 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 217D034F3 for ; Fri, 21 Feb 2020 13:28:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 04:28:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,468,1574150400"; d="scan'208";a="269972613" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga002.fm.intel.com with ESMTP; 21 Feb 2020 04:28:46 -0800 Received: from orsmsx112.amr.corp.intel.com (10.22.240.13) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 21 Feb 2020 04:28:46 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX112.amr.corp.intel.com (10.22.240.13) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 21 Feb 2020 04:28:46 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 21 Feb 2020 04:28:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BIMBiK99c6748WHYLGzeBE4TJkvZENTjnB0vnQzIZ+aETgj9MpZUp1OAwf4mNCf0gZvfCbqVuqswJ02twIl4GTZYzUKewT4K+2zVVAdLRTzemuvGf6AKO3jPGOGiOqHkHFUg5ofSuznsqDsMWNGdfkir/xbPcB3nFHv8r2/CUW5+ncOOwKXjSGD0z+UvKWX/Zwj2v3goAki0SZsMwj9CV1CKv3vNFp5DntTQVIC0zEd3anLZIVMphldT89+AAr/veUi48P6UnctNkv50eNn0+UmVnepkjbujKKh7SfzSbLT2zJs/QfErg0EmbKFkUw+QbIJO2gxHIQEXArLFvV7yfQ== 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=M0UG+YxzirBVamlFJzIUj54gOL2MRX+kssBeIm/i9UU=; b=ncuWl7OOrVdxosS2qhWCYX/0VClltK2erVTEtxElwS8jmoBROBijnNzTg8qxGW4xkVgkNpsvlWwONhoW+bk+BiaxUnOTGBt1BeOt4qfi56lj0DMZZySylBbcyuhmSxssUW0QsdGdS+lj10woQzjY8taVX3FcaYvvovl3QZlgQBmKmZQr3wsUgLlRshfm7MwWDuqFKwD8cuOJEk8OOh4kVJJRDzLEpryTMuo9oIaj00Q6XD8JKG0OShHLukBDSx8hXhngzpiH3cdsHez7Tmg9jBd1Q4EwqWJp+nBOnqqSkSEjJvnDRBnVhZy4ov222QlRxE8LMDlwsSxJJjAoDxDgew== 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=M0UG+YxzirBVamlFJzIUj54gOL2MRX+kssBeIm/i9UU=; b=LiJq5JPRGhQLUb08iT/yvpayCfkRljeYoXpymIpDLVpAAoIH9Z1VZHfAIH50Y1TWsgb1a+QoiDohuH223/4yQZwcX9yPdeF2fEjT5vsAQd3/nx42bIKTm5ifZYqB5LbTYeUhoPhPsrL6xXpp8eke1PXnhwa2REFJvjVzcZMrEaQ= Received: from DM6PR11MB4441.namprd11.prod.outlook.com (2603:10b6:5:200::11) by DM6PR11MB4411.namprd11.prod.outlook.com (2603:10b6:5:201::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Fri, 21 Feb 2020 12:28:45 +0000 Received: from DM6PR11MB4441.namprd11.prod.outlook.com ([fe80::8114:4377:8746:9703]) by DM6PR11MB4441.namprd11.prod.outlook.com ([fe80::8114:4377:8746:9703%4]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 12:28:45 +0000 From: "Van Haaren, Harry" To: David Marchand CC: Aaron Conole , dev Thread-Topic: [RFC] service: stop lcore threads before 'finalize' Thread-Index: AQHVzKZTm2xXY2gopEmIbtUd5PRbX6fug+KAgByiXgCAABcNOIAJYjxggA+pmoCAAX5bIA== Date: Fri, 21 Feb 2020 12:28:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjFlZjIzOTMtNjEwYy00Njg2LTkyYjQtZWY4NmQ4YjNhNTQ5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoid2ZPWFNFblhIb0NwTHdNOFo2a1h0dHA5blwvbGt1NWcxVitYTUZKWEdIZmM4MTNTNjdRbWdFM0xpUUpMR3FPcWgifQ== dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=harry.van.haaren@intel.com; x-originating-ip: [192.198.151.169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7aa79a1d-bdc4-4143-d23a-08d7b6c99815 x-ms-traffictypediagnostic: DM6PR11MB4411: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0320B28BE1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(366004)(136003)(396003)(376002)(189003)(199004)(86362001)(8936002)(8676002)(26005)(6916009)(186003)(478600001)(7696005)(81156014)(53546011)(81166006)(6506007)(33656002)(71200400001)(54906003)(76116006)(52536014)(2906002)(5660300002)(66446008)(64756008)(66476007)(66556008)(316002)(55016002)(4326008)(9686003)(66946007); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR11MB4411; H:DM6PR11MB4441.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7HL7uj5kB2Tsv3t3UGS2Msj8duXHhW8H3SWbfQyK/rTlDtl/kcpOZMKlUcltwYtHtmtty46klAw3313852f89+fTNMCHd2FITAq3Yc7xG8GvWCOD5U3L3A1+YTh8iMpoavrKySWGGjC0JP/cOr0AbMJLcfLQhM/dZq0ljP8lT38+auTSFV4MY8UAPJSw98RbIT1yKqTTwKfBWWolzd4WQlQyDX0FYs3AvamKfDnJuhj/4LpJEIlXdlP9rb2csMKj+zlZnLIUva70i2ejRNWC/fWGM9b7wq4v32XuyijsGzqBR0uAM8biIvXizlFHeO/CJDrYRV7ez0DWolikqUKnq3RTPV561eH4GK0Ac2RQCyrymIu6PL+dU2Jthxksq7DGJi5LP8zgAaYxnGYx7E4jOEEiXn2ahPipyfwXZK4o/tjwDItyadehscV957zVJq8/ x-ms-exchange-antispam-messagedata: 0qTrkntUzu2MW6/P9hmnVd6VmZET3Pm0Nfq3Chrf0afaEO//NUQrdef8gGc9J8oly4PFe3TjppWP2F7c78Jh4/KEh+KJErp5WpFk01lXGOAqk6SMpe0Svn7uTb7qgpMdV/JdGF2rImNGzXU3IGHQZg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7aa79a1d-bdc4-4143-d23a-08d7b6c99815 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2020 12:28:45.1093 (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: g4VXvwOSrhYeJfFdshrO879KUUsDo1idgPk8klq1KcMQXgegWgp42volfJf+KoHQ/SXql7HMm9ImVAtjIAZZg5YdsN9VbWt5VYii+Fp7wlM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4411 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [RFC] service: stop lcore threads before 'finalize' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEZlYnJ1YXJ5IDIwLCAy MDIwIDE6MjUgUE0NCj4gVG86IFZhbiBIYWFyZW4sIEhhcnJ5IDxoYXJyeS52YW4uaGFhcmVuQGl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