Bug 1330

Summary: rte_thread_* wrappers missing in DPDK
Product: DPDK Reporter: David Vodák (vodak)
Component: otherAssignee: dev
Status: CONFIRMED ---    
Severity: normal CC: thomas
Priority: Normal    
Version: 23.11   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description David Vodák 2023-11-23 15:32:43 CET
In DPDK 23.11, rte_ctrl_thread_create has been replaced by rte_thread_create_control, encouraging Linux users to switch from the pthread_t API to the rte_thread API.

The problem is that the rte_thread API does not currently provide wrappers for all pthread functions. There are no equivalent functions for pthread_timedjoin_np, pthread_getname_np and pthread_cancel.

Would it be possible to add support for these functions as well?
Comment 1 Thomas Monjalon 2023-11-23 16:02:01 CET
Not sure about "getname", but for the rest, yes, feel free to propose new API.