[dpdk-dev] [PATCH] eal: fix compile error for old glibc caused by pthread_setname_np()

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 24 19:47:55 CET 2015


On Tue, Nov 24, 2015 at 06:54:15PM +0100, Thomas Monjalon wrote:
> 2015-11-19 17:44, Ferruh Yigit:
> >  examples/tep_termination/main.c                    | 2 +-
> >  examples/vhost/main.c                              | 2 +-
> >  examples/vhost_xen/main.c                          | 2 +-
> >  lib/librte_eal/common/eal_thread.h                 | 6 ++++++
> 
> It cannot compile because eal_thread.h is not part of the public API
> so not included in the examples.

My bad.

> Please could you move it in lib/librte_eal/common/include?
> An idea of the filename it should be?

Is rte_lcore.h good? It already has rte_thread_* APIs in it.

ferruh


More information about the dev mailing list