[PATCH 00/11] rework thread management
Morten Brørup
mb at smartsharesystems.com
Thu Sep 7 10:30:59 CEST 2023
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Wednesday, 6 September 2023 18.12
>
> The main effect of this patch series is to
> remove calls to pthread functions except for pthread_cancel and locks.
>
> The function rte_thread_create_control() does not take attributes anymore
> as it looks a useless complication of the API.
Note for other reviewers: The "args" parameter, passed to the thread function, is still there.
> Then the rte_thread API is made stable,
> so we can remove the old deprecated functions
> rte_thread_setname() and rte_ctrl_thread_create().
>
> Some new internal functions are added in rte_thread to make sure
> all internal thread names are prefixed with "dpdk-".
>
> Few other cleanups are done.
>
> Future work about pthread portability are about:
> - cancel
> - mutex
>
>
> Thomas Monjalon (11):
> devtools: warn when adding some pthread calls
> eal: rename thread name length definition
> eal: remove attributes from control thread creation
> eal: promote thread API as stable
> eal: force prefix for internal threads
> lib: convert to internal control threads
> drivers: convert to internal control threads
> examples: convert to normal control threads
> test: convert threads creation
> eal: remove deprecated thread functions
> lib: remove pthread.h from includes
Thank you for cleaning all this up, Thomas.
Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list