examples/performance-thread: add pthread_shim app
authorIan Betts <ian.betts@intel.com>
Tue, 8 Dec 2015 06:05:17 +0000 (06:05 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 11 Dec 2015 01:16:26 +0000 (02:16 +0100)
commit433ba6228f9a77a9b5f4561258930a46d096b3c4
tree8248984fbb703629c867fb609e9e63410038d1aa
parentd48415e1fee3c6a1ea6600fedfd0594e6f12d748
examples/performance-thread: add pthread_shim app

This commit adds an example that illustrates how to implement
a pthread shim with the lthread subsystem included in the
performance thread example application.

Signed-off-by: Ian Betts <ian.betts@intel.com>
Acked-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
examples/performance-thread/Makefile
examples/performance-thread/pthread_shim/Makefile [new file with mode: 0644]
examples/performance-thread/pthread_shim/main.c [new file with mode: 0644]
examples/performance-thread/pthread_shim/pthread_shim.c [new file with mode: 0644]
examples/performance-thread/pthread_shim/pthread_shim.h [new file with mode: 0644]