[dpdk-dev] [PATCH] example/performance-thread: lthread support C++

Wiles, Keith keith.wiles at intel.com
Tue Mar 21 21:25:33 CET 2017


> On Mar 21, 2017, at 12:03 PM, Hiroki SHIROKURA <slank.dev at gmail.com> wrote:
> 
> Lthread is awesome but it doesn't support C++.
> So I write patch to support lthread to support C++.
> Added "extern C {}" to lthread-headers
> 
> Signed-off-by: Hiroki SHIROKURA <slank.dev at gmail.com>

Acked-by: Keith Wiles <keith.wiles at intel.com>

> ---
> examples/performance-thread/common/arch/x86/ctx.h     | 8 ++++++++
> examples/performance-thread/common/lthread.h          | 8 ++++++++
> examples/performance-thread/common/lthread_api.h      | 8 ++++++++
> examples/performance-thread/common/lthread_cond.h     | 8 ++++++++
> examples/performance-thread/common/lthread_diag.h     | 9 +++++++++
> examples/performance-thread/common/lthread_diag_api.h | 8 ++++++++
> examples/performance-thread/common/lthread_int.h      | 8 ++++++++
> examples/performance-thread/common/lthread_mutex.h    | 8 ++++++++
> examples/performance-thread/common/lthread_objcache.h | 7 +++++++
> examples/performance-thread/common/lthread_pool.h     | 7 +++++++
> examples/performance-thread/common/lthread_queue.h    | 7 +++++++
> examples/performance-thread/common/lthread_sched.h    | 7 +++++++
> examples/performance-thread/common/lthread_timer.h    | 7 +++++++
> examples/performance-thread/common/lthread_tls.h      | 7 +++++++
> 14 files changed, 107 insertions(+)
> 

Regards,
Keith



More information about the dev mailing list