[PATCH v5 2/4] eal: remove thread getname API
David Marchand
david.marchand at redhat.com
Wed Jan 18 15:51:43 CET 2023
On Tue, Jan 17, 2023 at 7:22 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> Remove the rte_thread_getname API. The API is __rte_experimental and
> requires no deprecation notice.
>
> Fold the platform specific variants into the one place it is used as a
> special case to retain the functionality for linux only.
>
> Adjust the function as follows.
> * limit use of this very platform glibc specific function to the single
> place it is used.
> * change the return type to void since the single use cannot
> meaningfully check for failure given the platform defined behavior.
> * change the thread id type to be rte_thread_t.
> * rename the function rte_thread_get_name to be consistent with the
> exported rte_thread_set_name.
This comment is not relevant anymore.
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
--
David Marchand
More information about the dev
mailing list