On Tue, Jan 17, 2023 at 7:22 PM Tyler Retzlaff <roret...@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 <roret...@linux.microsoft.com> -- David Marchand