9 #include <rte_compat.h> 11 #ifndef _RTE_THREAD_H_ 12 #define _RTE_THREAD_H_ 256 #ifdef RTE_HAS_CPUSET 277 rte_cpuset_t *cpuset);
298 rte_cpuset_t *cpuset);
319 const rte_cpuset_t *cpuset);
340 rte_cpuset_t *cpuset);
425 void (*destructor)(
void *));
__rte_experimental int rte_thread_attr_init(rte_thread_attr_t *attr)
__rte_experimental int rte_thread_attr_get_affinity(rte_thread_attr_t *thread_attr, rte_cpuset_t *cpuset)
__rte_experimental int rte_thread_set_priority(rte_thread_t thread_id, enum rte_thread_priority priority)
__rte_experimental int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr)
__rte_experimental int rte_thread_set_affinity_by_id(rte_thread_t thread_id, const rte_cpuset_t *cpuset)
__rte_experimental int rte_thread_equal(rte_thread_t t1, rte_thread_t t2)
__rte_experimental int rte_thread_key_delete(rte_thread_key key)
__rte_experimental int rte_thread_create_control(rte_thread_t *thread, const char *name, const rte_thread_attr_t *thread_attr, rte_thread_func thread_func, void *arg)
__rte_experimental void * rte_thread_value_get(rte_thread_key key)
struct eal_tls_key * rte_thread_key
__rte_experimental int rte_thread_detach(rte_thread_t thread_id)
__rte_experimental void rte_thread_set_name(rte_thread_t thread_id, const char *thread_name)
__rte_experimental rte_thread_t rte_thread_self(void)
int rte_thread_set_affinity(rte_cpuset_t *cpusetp)
void rte_thread_get_affinity(rte_cpuset_t *cpusetp)
__rte_experimental int rte_thread_key_create(rte_thread_key *key, void(*destructor)(void *))
__rte_experimental int rte_thread_get_priority(rte_thread_t thread_id, enum rte_thread_priority *priority)
__rte_experimental int rte_thread_attr_set_priority(rte_thread_attr_t *thread_attr, enum rte_thread_priority priority)
uint32_t(* rte_thread_func)(void *arg)
__rte_experimental int rte_thread_value_set(rte_thread_key key, const void *value)
__rte_experimental int rte_thread_get_affinity_by_id(rte_thread_t thread_id, rte_cpuset_t *cpuset)
__rte_experimental int rte_thread_attr_set_affinity(rte_thread_attr_t *thread_attr, rte_cpuset_t *cpuset)
__rte_experimental int rte_thread_create(rte_thread_t *thread_id, const rte_thread_attr_t *thread_attr, rte_thread_func thread_func, void *arg)