Re: [dpdk-dev] [PATCH v6] net/ixgbe: fix resource leak after thread exits normally

2020-04-21 Thread Ye Xiaolong
On 04/22, taox@intel.com wrote: >From: Zhu Tao > >When the thread exits normally, pthread_join() is not called, which can >result in a resource leak. Therefore, the thread is set to separation >mode using function pthread_detach(), so that no program call >pthread_join() is required to recycle

[dpdk-dev] [PATCH v6] net/ixgbe: fix resource leak after thread exits normally

2020-04-21 Thread taox . zhu
From: Zhu Tao When the thread exits normally, pthread_join() is not called, which can result in a resource leak. Therefore, the thread is set to separation mode using function pthread_detach(), so that no program call pthread_join() is required to recycle, and when the thread exits, the system au