Closed fwz-fpga closed 2 years ago
I use pthreadpool_create api create a pthreadpool. And I want to set cpu affinity with every thread in the pool. Does Pthreadpool support this ? Or does Pthreadpool support api that get single pthread in the pool with index?
Neither setting affinity, nor accessing the native thread objects in the threadpool is supported.
I use pthreadpool_create api create a pthreadpool. And I want to set cpu affinity with every thread in the pool. Does Pthreadpool support this ? Or does Pthreadpool support api that get single pthread in the pool with index?