Re: [dpdk-dev] [PATCH] service: fix stop API to wait for service thread

2020-07-20 Thread Van Haaren, Harry
> -Original Message- > From: Lukasz Wojciechowski > Sent: Monday, July 20, 2020 1:52 PM > To: Van Haaren, Harry ; dev@dpdk.org > Cc: david.march...@redhat.com; igor.roma...@oktetlabs.ru; > honnappa.nagaraha...@arm.com; Yigit, Ferruh ; > n...@arm.com; acon...@redhat.com > Subject: Re: [PATC

Re: [dpdk-dev] [PATCH] service: fix stop API to wait for service thread

2020-07-20 Thread Lukasz Wojciechowski
W dniu 20.07.2020 o 14:09, Harry van Haaren pisze: > This commit improves the service_lcore_stop() implementation, > waiting for the service core in question to return. The service > thread itself now has a variable to indicate if its thread is > active. When zero the service thread has completed

[dpdk-dev] [PATCH] service: fix stop API to wait for service thread

2020-07-20 Thread Harry van Haaren
This commit improves the service_lcore_stop() implementation, waiting for the service core in question to return. The service thread itself now has a variable to indicate if its thread is active. When zero the service thread has completed its service, and has returned from the service_runner_func()