git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: new function to create control threads
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_thread.c
diff --git
a/lib/librte_eal/common/eal_common_thread.c
b/lib/librte_eal/common/eal_common_thread.c
index
55e9696
..
f1a88f8
100644
(file)
--- a/
lib/librte_eal/common/eal_common_thread.c
+++ b/
lib/librte_eal/common/eal_common_thread.c
@@
-169,3
+169,10
@@
exit:
return ret;
}
+
+int rte_ctrl_thread_create(pthread_t *thread,
+ const pthread_attr_t *attr,
+ void *(*start_routine)(void *), void *arg)
+{
+ return pthread_create(thread, attr, start_routine, arg);
+}