numam-dpdk/lib/librte_eal
Harry van Haaren 8929de043e service: retrieve lcore active state
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 <l.wojciechow@partner.samsung.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
2020-09-21 16:37:11 +02:00
..
arm eal: add wrapper for C11 atomic thread fence 2020-07-17 16:00:30 +02:00
common service: retrieve lcore active state 2020-09-21 16:37:11 +02:00
freebsd build: remove makefiles 2020-09-08 00:09:50 +02:00
include service: retrieve lcore active state 2020-09-21 16:37:11 +02:00
linux eal: hide internal device event structure 2020-09-21 10:12:10 +02:00
ppc eal: add wrapper for C11 atomic thread fence 2020-07-17 16:00:30 +02:00
unix timer: move from common to Unix directory 2020-06-23 18:33:20 +02:00
windows mem: drop mapping API workaround 2020-09-21 10:12:10 +02:00
x86 eal: add wrapper for C11 atomic thread fence 2020-07-17 16:00:30 +02:00
meson.build eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
rte_eal_exports.def eal/windows: update symbols export 2020-09-11 01:40:36 +02:00
rte_eal_version.map service: retrieve lcore active state 2020-09-21 16:37:11 +02:00