[dpdk-dev] [PATCH] examples/performance-thread: fix build issue with clang 12.0.1

2021-08-16 Thread jerinj
From: Jerin Jacob In clang 12.0.1 version, the use of pthread_yield() deprecated, use sched_yield() instead. log: Compiling C object examples/dpdk-pthread_shim.p/performance-thread_pthread_shim_main.c.o ../examples/performance-thread/pthread_shim/main.c: In function 'helloworld_pthread': ../exa

Re: [dpdk-dev] [PATCH] examples/performance-thread: fix build issue with clang 12.0.1

2021-08-19 Thread Ali Alnubani
> -Original Message- > From: jer...@marvell.com > Sent: Monday, August 16, 2021 4:19 PM > To: John McNamara ; Ian Betts > ; Tomasz Kulasek > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; bruce.richard...@intel.com; > david.march...@redhat.com; Jerin Jacob ; Ali > Alnubani > Subject:

Re: [dpdk-dev] [PATCH] examples/performance-thread: fix build issue with clang 12.0.1

2021-08-27 Thread Thomas Monjalon
19/08/2021 09:09, Ali Alnubani: > From: jer...@marvell.com > > In clang 12.0.1 version, the use of pthread_yield() deprecated, use > > sched_yield() instead. > > > > log: > > > > Compiling C object > > examples/dpdk-pthread_shim.p/performance- > > thread_pthread_shim_main.c.o > > ../examples/per