numam-dpdk/examples/performance-thread
Jerin Jacob 5e184c4cc7 examples/performance-thread: fix build with clang 12.0.1
In clang 12.0.1 version, the use of pthread_yield() is deprecated,
use sched_yield() instead.

log:
    examples/performance-thread/pthread_shim/main.c:75:9: warning:
    'pthread_yield' is deprecated: pthread_yield is deprecated,
    use sched_yield instead [-Wdeprecated-declarations]

Bugzilla ID: 745
Fixes: 433ba6228f ("examples/performance-thread: add pthread_shim app")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Tested-by: Ali Alnubani <alialnu@nvidia.com>
2021-08-27 13:40:23 +02:00
..
common
l3fwd-thread examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
pthread_shim examples/performance-thread: fix build with clang 12.0.1 2021-08-27 13:40:23 +02:00
Makefile