examples/performance-thread: add lthread subsystem
authorIan Betts <ian.betts@intel.com>
Tue, 8 Dec 2015 06:05:15 +0000 (06:05 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 11 Dec 2015 01:14:54 +0000 (02:14 +0100)
commit116819b9ed0da46ba09b927a9d54795e5f56cbdc
tree3976fef1396207fb225c75175ac5d8fda065a226
parent4d1a771bd88d3d2fc2c02b625a7c2a0e740f9ca3
examples/performance-thread: add lthread subsystem

This commit adds the lightweight thread subsystem used by the
performance-thread sample applications.

Signed-off-by: Ian Betts <ian.betts@intel.com>
Acked-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
22 files changed:
examples/performance-thread/common/arch/x86/ctx.c [new file with mode: 0644]
examples/performance-thread/common/arch/x86/ctx.h [new file with mode: 0644]
examples/performance-thread/common/common.mk [new file with mode: 0644]
examples/performance-thread/common/lthread.c [new file with mode: 0644]
examples/performance-thread/common/lthread.h [new file with mode: 0644]
examples/performance-thread/common/lthread_api.h [new file with mode: 0644]
examples/performance-thread/common/lthread_cond.c [new file with mode: 0644]
examples/performance-thread/common/lthread_cond.h [new file with mode: 0644]
examples/performance-thread/common/lthread_diag.c [new file with mode: 0644]
examples/performance-thread/common/lthread_diag.h [new file with mode: 0644]
examples/performance-thread/common/lthread_diag_api.h [new file with mode: 0644]
examples/performance-thread/common/lthread_int.h [new file with mode: 0644]
examples/performance-thread/common/lthread_mutex.c [new file with mode: 0644]
examples/performance-thread/common/lthread_mutex.h [new file with mode: 0644]
examples/performance-thread/common/lthread_objcache.h [new file with mode: 0644]
examples/performance-thread/common/lthread_pool.h [new file with mode: 0644]
examples/performance-thread/common/lthread_queue.h [new file with mode: 0644]
examples/performance-thread/common/lthread_sched.c [new file with mode: 0644]
examples/performance-thread/common/lthread_sched.h [new file with mode: 0644]
examples/performance-thread/common/lthread_timer.h [new file with mode: 0644]
examples/performance-thread/common/lthread_tls.c [new file with mode: 0644]
examples/performance-thread/common/lthread_tls.h [new file with mode: 0644]