From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pablo.de.lara.guarch@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 1B09C1B159
 for <dev@dpdk.org>; Mon, 18 Sep 2017 13:44:24 +0200 (CEST)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 18 Sep 2017 04:44:23 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.42,412,1500966000"; d="scan'208";a="901304873"
Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159])
 by FMSMGA003.fm.intel.com with ESMTP; 18 Sep 2017 04:44:22 -0700
Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by
 IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Mon, 18 Sep 2017 12:44:21 +0100
Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by
 irsmsx112.ger.corp.intel.com ([169.254.1.142]) with mapi id 14.03.0319.002;
 Mon, 18 Sep 2017 12:44:21 +0100
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: "Tan, Jianfeng" <jianfeng.tan@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
CC: "Richardson, Bruce" <bruce.richardson@intel.com>, "Ananyev, Konstantin"
 <konstantin.ananyev@intel.com>, "thomas@monjalon.net" <thomas@monjalon.net>,
 "yliu@fridaylinux.org" <yliu@fridaylinux.org>, "maxime.coquelin@redhat.com"
 <maxime.coquelin@redhat.com>, "mtetsuyah@gmail.com" <mtetsuyah@gmail.com>,
 "Yigit, Ferruh" <ferruh.yigit@intel.com>
Thread-Topic: [PATCH 12/12] examples/helloworld: do not exit automatically
Thread-Index: AQHTHYYWq5HJyVM3KE2rjAV4+R7ulqK6q50w
Date: Mon, 18 Sep 2017 11:44:20 +0000
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8976CC1E947@IRSMSX108.ger.corp.intel.com>
References: <1503654052-84730-1-git-send-email-jianfeng.tan@intel.com>
 <1503654052-84730-13-git-send-email-jianfeng.tan@intel.com>
In-Reply-To: <1503654052-84730-13-git-send-email-jianfeng.tan@intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzhjNTliOGItZTg5My00NDAzLWIyMGUtODU4NjQxM2UzOTkwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImFpcG11ck93V2NpS2VMNzhIaFR2YUIxQmpQUmJJZ2FtMVA1Vjg0bXlyTjA9In0=
x-ctpclassification: CTP_IC
dlp-product: dlpe-windows
dlp-version: 11.0.0.116
dlp-reaction: no-action
x-originating-ip: [163.33.239.181]
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Sep 2017 11:44:25 -0000



> -----Original Message-----
> From: Tan, Jianfeng
> Sent: Friday, August 25, 2017 10:41 AM
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>; Ananyev, Konstantin
> <konstantin.ananyev@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch@intel.com>; thomas@monjalon.net;
> yliu@fridaylinux.org; maxime.coquelin@redhat.com;
> mtetsuyah@gmail.com; Yigit, Ferruh <ferruh.yigit@intel.com>; Tan,
> Jianfeng <jianfeng.tan@intel.com>
> Subject: [PATCH 12/12] examples/helloworld: do not exit automatically
>=20
> Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
> ---
>  examples/helloworld/main.c | 3 +++
>  1 file changed, 3 insertions(+)
>=20
> diff --git a/examples/helloworld/main.c b/examples/helloworld/main.c
> index 8b7a2de..35b70da 100644
> --- a/examples/helloworld/main.c
> +++ b/examples/helloworld/main.c
> @@ -36,6 +36,7 @@
>  #include <stdint.h>
>  #include <errno.h>
>  #include <sys/queue.h>
> +#include <unistd.h>
>=20
>  #include <rte_memory.h>
>  #include <rte_memzone.h>
> @@ -72,6 +73,8 @@ main(int argc, char **argv)
>  	/* call it on master lcore too */
>  	lcore_hello(NULL);
>=20
> +	while (1) sleep(5);
> +
>  	rte_eal_mp_wait_lcore();
>  	return 0;
>  }
> --
> 2.7.4

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?

Pablo