MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_thread_self

Function rte_thread_self

dpdk/lib/eal/unix/rte_thread.c:261–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261rte_thread_t
262rte_thread_self(void)
263{
264 RTE_BUILD_BUG_ON(sizeof(pthread_t) > sizeof(uintptr_t));
265
266 rte_thread_t thread_id;
267
268 thread_id.opaque_id = (uintptr_t)pthread_self();
269
270 return thread_id;
271}
272
273int
274rte_thread_get_priority(rte_thread_t thread_id,

Callers 15

thread_start_wrapperFunction · 0.70
rte_eal_initFunction · 0.50
rte_thread_is_intrFunction · 0.50
eal_auto_detect_coresFunction · 0.50
rte_thread_set_affinityFunction · 0.50
eal_thread_loopFunction · 0.50
control_thread_initFunction · 0.50
rte_thread_registerFunction · 0.50
rte_eal_initFunction · 0.50
rte_thread_is_intrFunction · 0.50

Calls

no outgoing calls

Tested by 2

thread_mainFunction · 0.40