On 4/2/2019 3:39 PM, Thomas Monjalon wrote:
I think the change below is bad because it is exposing an internal
function in a header file which may be included by apps.
I know you are still looking for pthread integration solutions,
so we can discuss how to fix it later.
Note that there is already an EAL function to create normal threads:
rte_ctrl_thread_create()
You may want a similar function for dataplane threads perhaps.
Yes, we can work on removing eal_thread_create and substituting it
with rte_ctrl_thread_create. We have been able to macro substitute
quite a lot of pthread lib functionality with Microsoft libc. I can
start looking into porting those functionalities for
rte_ctrl_thread_create() on Windows.
--
Anand Rawat