[PATCH v3 0/2] add thread priority accessors
David Marchand
david.marchand at redhat.com
Tue Jun 7 12:39:10 CEST 2022
On Tue, May 24, 2022 at 1:09 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> 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(+)
Series applied, thanks.
--
David Marchand
More information about the dev
mailing list