Bug 1330 - rte_thread_* wrappers missing in DPDK
Summary: rte_thread_* wrappers missing in DPDK
Status: CONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 23.11
Hardware: All Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2023-11-23 15:32 CET by David Vodák
Modified: 2023-11-23 16:02 CET (History)
1 user (show)



Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.