Re: [dpdk-dev] [PATCH v3] eal: fix race in ctrl thread creation

2021-04-06 Thread Honnappa Nagarahalli
> > The creation of control threads used 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. >

[dpdk-dev] [PATCH v3] eal: fix race in ctrl thread creation

2021-04-06 Thread Luc Pelletier
The creation of control threads used 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. The barrier ha