> -----Original Message----- > From: Tan, Jianfeng > Sent: Friday, August 25, 2017 10:41 AM > To: [email protected] > Cc: Richardson, Bruce <[email protected]>; Ananyev, Konstantin > <[email protected]>; De Lara Guarch, Pablo > <[email protected]>; [email protected]; > [email protected]; [email protected]; > [email protected]; Yigit, Ferruh <[email protected]>; Tan, > Jianfeng <[email protected]> > Subject: [PATCH 12/12] examples/helloworld: do not exit automatically > > Signed-off-by: Jianfeng Tan <[email protected]> > --- > examples/helloworld/main.c | 3 +++ > 1 file changed, 3 insertions(+) > > 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> > > #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? Pablo

