[dpdk-dev] [PATCH] eal: fix thread naming on FreeBSD

2016-06-17 Thread David Marchand
On Fri, Jun 17, 2016 at 5:25 PM, Thomas Monjalon wrote: > rte_thread_setname was a macro defined only for Linux. > The function rte_thread_setname() can now be used on FreeBSD > as well on Linux. > It is required to build librte_pdump. > > The macro was 0 for old glibc. The function is now returni

[dpdk-dev] [PATCH] eal: fix thread naming on FreeBSD

2016-06-17 Thread Thomas Monjalon
rte_thread_setname was a macro defined only for Linux. The function rte_thread_setname() can now be used on FreeBSD as well on Linux. It is required to build librte_pdump. The macro was 0 for old glibc. The function is now returning -1. The related logs are decreased from error to debug level beca