> -----Original Message-----
> From: dev <[email protected]> On Behalf Of Harry van Haaren
> Sent: Monday, July 20, 2020 10:38 PM
> To: [email protected]
> Cc: [email protected]; [email protected]; Honnappa
> Nagarahalli <[email protected]>; [email protected]; nd
> <[email protected]>; [email protected];
> [email protected]; Harry van Haaren
> <[email protected]>
> Subject: [dpdk-dev] [PATCH v2 1/2] service: add API to retrieve service core
> active
> 
> This commit adds a new experimental API which allows the user
> to retrieve the active state of an lcore. Knowing when the service
> lcore is completed its polling loop can be useful to applications
> to avoid race conditions when e.g. finalizing statistics.
> 
> 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() function.
> 
> Suggested-by: Lukasz Wojciechowski <[email protected]>
> Signed-off-by: Harry van Haaren <[email protected]>
> 

It looks good to me.

Reviewed-by: Phil Yang <[email protected]>

Thanks,
Phil
<...>

Reply via email to