On Wed, Sep 13, 2023 at 1:45 PM Thomas Monjalon <tho...@monjalon.net> wrote:
>
> 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 thread attributes
> settings anymore as it looks a useless complication of the API.
> 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
>
> ---
>
> v2 changes:
>   - replace (|_) with _? in checkpatch
>   - simplify thread name size doc
>   - build time check of internal thread name size
>   - clean control thread params struct
> v3 change:
>   - fix build (wrong placement of RTE_BUILD_BUG_ON)
>     note for later: never send a patch during a summit!

Series applied, thanks.


-- 
David Marchand

Reply via email to