[dpdk-dev] [PATCH 12/12] examples/helloworld: do not exit automatically

Tan, Jianfeng jianfeng.tan at intel.com
Tue Sep 19 07:07:42 CEST 2017


Hi Pablo,

> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Monday, September 18, 2017 7:44 PM
> To: Tan, Jianfeng; dev at dpdk.org
> Cc: Richardson, Bruce; Ananyev, Konstantin; thomas at monjalon.net;
> yliu at fridaylinux.org; maxime.coquelin at redhat.com; mtetsuyah at gmail.com;
> Yigit, Ferruh
> Subject: RE: [PATCH 12/12] examples/helloworld: do not exit automatically
> 
> 
...
> >  #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);
> >
> > +	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?

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

> 
> Pablo


More information about the dev mailing list