[PATCH v5 0/2] allow creating thread with real-time priority

Thomas Monjalon thomas at monjalon.net
Thu Oct 26 22:00:33 CEST 2023


26/10/2023 16:19, Thomas Monjalon:
> 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
> 
> v1: no yield at all
> v2: more comments, sched_yield() and Sleep(0) on Windows
> v3: 2 yield functions with sleep in realtime version
> v4: runtime warning, longer sleep on Unix and lighter yield on Windows
> v5: fix build and increase Unix sleep to 1 ms
> 
> Thomas Monjalon (2):
>   eal: add thread yield functions
>   eal/unix: allow creating thread with real-time priority

Now there is a test failing on Windows:
http://mails.dpdk.org/archives/test-report/2023-October/491475.html





More information about the dev mailing list