eal: new function to create control threads
[dpdk.git] / lib / librte_eal / common / eal_common_thread.c
index 55e9696..f1a88f8 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);
+}