Re: [dpdk-dev] [PATCH 1/2] eal: fix race in ctrl thread creation

2021-04-08 Thread Honnappa Nagarahalli
> > The creation of control threads uses a pthread barrier for synchronization. > This patch fixes a race condition where the pthread barrier could get > destroyed while one of the threads has not yet returned from the > pthread_barrier_wait function, which could result in undefined behaviour. >

Re: [dpdk-dev] [PATCH 1/2] eal: fix race in ctrl thread creation

2021-04-08 Thread Olivier Matz
On Wed, Apr 07, 2021 at 04:16:04PM -0400, Luc Pelletier wrote: > The creation of control threads uses a pthread barrier for > synchronization. This patch fixes a race condition where the pthread > barrier could get destroyed while one of the threads has not yet > returned from the pthread_barrier_w

[dpdk-dev] [PATCH 1/2] eal: fix race in ctrl thread creation

2021-04-07 Thread Luc Pelletier
The creation of control threads uses a pthread barrier for synchronization. This patch fixes a race condition where the pthread barrier could get destroyed while one of the threads has not yet returned from the pthread_barrier_wait function, which could result in undefined behaviour. Fixes: 3a0d46