[dpdk-dev] [PATCH] examples/performance-thread: add missing braces

2016-07-22 Thread Thomas Monjalon
2016-07-18 12:39, Mcnamara, John: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > > pthread_detach() function was returning 0 even when not calling > > lthread_detach(), due to missing braces in conditional (extra indentation > > was applied, giving a hint this is the corr

[dpdk-dev] [PATCH] examples/performance-thread: add missing braces

2016-07-18 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, July 18, 2016 12:20 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] examples/performance-thread: add missing > brace

[dpdk-dev] [PATCH] examples/performance-thread: add missing braces

2016-07-18 Thread Pablo de Lara
pthread_detach() function was returning 0 even when not calling lthread_detach(), due to missing braces in conditional (extra indentation was applied, giving a hint this is the correct fix). Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim app") Signed-off-by: Pablo de Lara --