[PATCH v3 0/2] add thread priority accessors
Tyler Retzlaff
roretzla at linux.microsoft.com
Tue May 24 13:08:35 CEST 2022
this series introduces accessors for get and set of thread
priority based on original patches from Narcisa Vasile.
v3:
* synchronize exit of thread_main to maintain thread
life for duration of affinity and priority tests.
* fix test check of errno return value should be
non-negative ENOTSUP instead of -ENOTSUP
v2:
* fix typo in test assert string mistmatch -> mismatch
* add new experimental exports names to lib/eal/version.map
Tyler Retzlaff (2):
eal: get/set thread priority per thread identifier
test/threads: add unit test for get set priority
app/test/test_threads.c | 57 +++++++++++++++++++
lib/eal/include/rte_thread.h | 50 +++++++++++++++++
lib/eal/unix/rte_thread.c | 101 +++++++++++++++++++++++++++++++++
lib/eal/version.map | 2 +
lib/eal/windows/rte_thread.c | 130 +++++++++++++++++++++++++++++++++++++++++++
5 files changed, 340 insertions(+)
--
1.8.3.1
More information about the dev
mailing list