[PATCH v6 1/5] eal: add thread set name API operating on rte thread

Stephen Hemminger stephen at networkplumber.org
Thu Jan 19 00:13:12 CET 2023


On Wed, 18 Jan 2023 11:54:02 -0800
Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:

> +	if (name != NULL)
> +		rte_thread_set_name((rte_thread_t){(uintptr_t)*thread}, name)

Do we really need so many casts here? Looks like the wrong type was passed
in the first place?


More information about the dev mailing list