[PATCH 00/11] rework thread management
Tyler Retzlaff
roretzla at linux.microsoft.com
Fri Sep 8 06:26:27 CEST 2023
On Thu, Sep 07, 2023 at 10:30:59AM +0200, Morten Brørup wrote:
> > 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>
+1
thank you very much, this has been on my todo list it's really
appreciated!
Series-acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list