[v3,0/2] allow creating thread with real-time priority

Message ID 20231025163352.1076755-1-thomas@monjalon.net (mailing list archive)
Headers
Series allow creating thread with real-time priority |

Message

Thomas Monjalon Oct. 25, 2023, 4:31 p.m. UTC
  Real-time thread priority was been forbidden on Unix
because of problems they can cause.
Warnings and helpers are added to avoid deadlocks,
so real-time can be allowed on all systems.

Thomas Monjalon (2):
  eal: add thread yield functions
  eal/unix: allow creating thread with real-time priority

 app/test/test_threads.c                       | 11 +------
 .../prog_guide/env_abstraction_layer.rst      |  4 ++-
 lib/eal/include/rte_thread.h                  | 29 ++++++++++++++++--
 lib/eal/unix/rte_thread.c                     | 30 +++++++++++++------
 lib/eal/version.map                           |  4 +++
 lib/eal/windows/rte_thread.c                  | 15 ++++++++++
 6 files changed, 71 insertions(+), 22 deletions(-)