examples/performance-thread: support C++
authorHiroki Shirokura <slank.dev@gmail.com>
Wed, 22 Mar 2017 02:26:23 +0000 (11:26 +0900)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Apr 2017 00:39:05 +0000 (02:39 +0200)
commit4ae49092fb7c3d3b0b80d9cdae2ff7f12d7e508e
tree8c89b7b68ebf23ee0550dc1d3609026c0e674466
parent6fed57a3f4925f2e49482f0f85e48c3827cc2d7b
examples/performance-thread: support C++

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@gmail.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
14 files changed:
examples/performance-thread/common/arch/x86/ctx.h
examples/performance-thread/common/lthread.h
examples/performance-thread/common/lthread_api.h
examples/performance-thread/common/lthread_cond.h
examples/performance-thread/common/lthread_diag.h
examples/performance-thread/common/lthread_diag_api.h
examples/performance-thread/common/lthread_int.h
examples/performance-thread/common/lthread_mutex.h
examples/performance-thread/common/lthread_objcache.h
examples/performance-thread/common/lthread_pool.h
examples/performance-thread/common/lthread_queue.h
examples/performance-thread/common/lthread_sched.h
examples/performance-thread/common/lthread_timer.h
examples/performance-thread/common/lthread_tls.h