Re: [dpdk-dev] [PATCH v2 2/4] eal: new function to create control threads

2018-04-10 Thread Burakov, Anatoly
On 03-Apr-18 2:04 PM, Olivier Matz wrote: Many parts of dpdk use their own management threads. Introduce a new wrapper for thread creation that will be extended in next commits to set the name and affinity. To be consistent with other DPDK APIs, the return value is negative in case of error, whi

[dpdk-dev] [PATCH v2 2/4] eal: new function to create control threads

2018-04-03 Thread Olivier Matz
Many parts of dpdk use their own management threads. Introduce a new wrapper for thread creation that will be extended in next commits to set the name and affinity. To be consistent with other DPDK APIs, the return value is negative in case of error, which was not the case for pthread_create(). S