mbox series

[v3,0/2] add thread priority accessors

Message ID 1653390517-4033-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
Headers
Series add thread priority accessors |

Message

Tyler Retzlaff May 24, 2022, 11:08 a.m. UTC
  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(+)
  

Comments

David Marchand June 7, 2022, 10:39 a.m. UTC | #1
On Tue, May 24, 2022 at 1:09 PM Tyler Retzlaff
<roretzla@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.