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

Function rte_thread_attr_init

dpdk/lib/eal/common/eal_common_thread.c:408–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408int
409rte_thread_attr_init(rte_thread_attr_t *attr)
410{
411 if (attr == NULL)
412 return EINVAL;
413
414 CPU_ZERO(&attr->cpuset);
415 attr->priority = RTE_THREAD_PRIORITY_NORMAL;
416
417 return 0;
418}
419
420int
421rte_thread_attr_set_priority(rte_thread_attr_t *thread_attr,

Calls

no outgoing calls

Tested by 2