]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_common_thread.c
eal: new function to create control threads
[dpdk.git] / lib / librte_eal / common / eal_common_thread.c
index 55e96963b8408388260d3369c4055f8c1da228cb..f1a88f85e5d12d8e49197430c8ea7213081dc988 100644 (file)
@@ -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);
+}