From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B5FF2101B for ; Tue, 19 Sep 2017 07:07:46 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2017 22:07:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,416,1500966000"; d="scan'208";a="153424355" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 18 Sep 2017 22:07:45 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 18 Sep 2017 22:07:45 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 18 Sep 2017 22:07:44 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Tue, 19 Sep 2017 13:07:43 +0800 From: "Tan, Jianfeng" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" CC: "Richardson, Bruce" , "Ananyev, Konstantin" , "thomas@monjalon.net" , "yliu@fridaylinux.org" , "maxime.coquelin@redhat.com" , "mtetsuyah@gmail.com" , "Yigit, Ferruh" Thread-Topic: [PATCH 12/12] examples/helloworld: do not exit automatically Thread-Index: AQHTHYYWFXcOTnqyyU+JK9q8erGLk6K6JcUAgAGoVeA= Date: Tue, 19 Sep 2017 05:07:42 +0000 Message-ID: References: <1503654052-84730-1-git-send-email-jianfeng.tan@intel.com> <1503654052-84730-13-git-send-email-jianfeng.tan@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 12/12] examples/helloworld: do not exit automatically 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: , X-List-Received-Date: Tue, 19 Sep 2017 05:07:47 -0000 Hi Pablo, > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Monday, September 18, 2017 7:44 PM > To: Tan, Jianfeng; dev@dpdk.org > Cc: Richardson, Bruce; Ananyev, Konstantin; thomas@monjalon.net; > yliu@fridaylinux.org; maxime.coquelin@redhat.com; mtetsuyah@gmail.com; > Yigit, Ferruh > Subject: RE: [PATCH 12/12] examples/helloworld: do not exit automatically >=20 >=20 ... > > #include > > #include > > @@ -72,6 +73,8 @@ main(int argc, char **argv) > > /* call it on master lcore too */ > > lcore_hello(NULL); > > > > + while (1) sleep(5); > > + > > rte_eal_mp_wait_lcore(); > > return 0; > > } > > -- > > 2.7.4 >=20 > I think this patch should not be in this patchset, as it looks that > it does not have any relation with the other patches. > Am I missing something? We want to use this example as a *clean* primary process; but without this = example, we can still use those examples in examples/multi_process/. So will drop this patch. Thanks, Jianfeng >=20 > Pablo