[PATCH 0/3] add eal functions for thread affinity
Tyler Retzlaff
roretzla at linux.microsoft.com
Fri Apr 1 15:29:50 CEST 2022
this series provides basic dependencies for additional eal thread api
additions. series includes basic error handling, initial get/set thread
affinity functions and minimal unit test.
Tyler Retzlaff (3):
eal/windows: translate Windows errors to errno-style errors
eal: implement functions for get/set thread affinity
test/threads: add unit test for thread API
app/test/meson.build | 2 +
app/test/test_threads.c | 86 +++++++++++++++++++
lib/eal/include/rte_thread.h | 45 ++++++++++
lib/eal/unix/rte_thread.c | 16 ++++
lib/eal/version.map | 4 +
lib/eal/windows/eal_lcore.c | 173 +++++++++++++++++++++++++++----------
lib/eal/windows/eal_windows.h | 10 +++
lib/eal/windows/include/rte_os.h | 2 +
lib/eal/windows/rte_thread.c | 179 ++++++++++++++++++++++++++++++++++++++-
9 files changed, 472 insertions(+), 45 deletions(-)
create mode 100644 app/test/test_threads.c
--
1.8.3.1
More information about the dev
mailing list