mbox

[v3,0/2] add thread priority accessors

Message ID 1653390517-4033-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
Headers

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(+)