Thanks Damjan . l was trying that because I want to move threads to other
partition.At the system start if main core is associated with some control
core group worker thread inherits this from parent thread and later set
affinity fails if you try to move worker thread to different partition.
Hence
You cannot do that if you use DPDK. If you disable DPDK you will get all worker
threads started as pthreads.
And to be even more precise, DPDK threads are also pthreads, they just come
with some extra stuff.
What do you want to achieve?
—
Damjan
> On 17 May 2018, at 13:43, bindiya Kurle
Hi all,
I am tried to use use_pthread in startup.conf.but still it takes
Tried following option for creating multiple threads
cpu {
use-pthreads
main-core 1
corelist-workers 2,3
}
With this config , code always hit else part of below config ,
file : src/vlib/threads.c