[PATCH v2 1/2] eal: expose lcore pthread id
David Marchand
david.marchand at redhat.com
Thu Oct 20 13:20:40 CEST 2022
On Fri, Oct 14, 2022 at 9:54 AM Markus Theil <markus.theil at tu-ilmenau.de> wrote:
>
> From: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
>
> Also expose the pthread id of each lcore, in
> order to allow modification of pthread attributes,
> for example use rte_thread_setname without executing
> pthread_self() on the maybe already running lcore.
>
> The rte_lcore_to_thread_id function is added to API.
>
> Signed-off-by: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
We are trying to abstract the use of pthread in DPDK API.
So I don't think this patch is going in the right direction.
Cc: Tyler.
--
David Marchand
More information about the dev
mailing list