]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/windows/eal/eal_thread.c
eal: move common header files
[dpdk.git] / lib / librte_eal / windows / eal / eal_thread.c
index 0591d4c7fb063d29f801756c60ced43012d0ba87..9e4bbaa08283d2c7c401accf432a63397dbb06b1 100644 (file)
 #include <rte_lcore.h>
 #include <rte_per_lcore.h>
 #include <rte_common.h>
+#include <rte_memory.h>
 #include <eal_thread.h>
 
 #include "eal_private.h"
 
 RTE_DEFINE_PER_LCORE(unsigned int, _lcore_id) = LCORE_ID_ANY;
+RTE_DEFINE_PER_LCORE(unsigned int, _socket_id) = (unsigned int)SOCKET_ID_ANY;
+RTE_DEFINE_PER_LCORE(rte_cpuset_t, _cpuset);
 
 /*
  * Send a message to a slave lcore identified by slave_id to call a
@@ -152,3 +155,11 @@ eal_thread_create(pthread_t *thread)
 
        return 0;
 }
+
+int
+rte_thread_setname(__rte_unused pthread_t id, __rte_unused const char *name)
+{
+       /* TODO */
+       /* This is a stub, not the expected result */
+       return 0;
+}