eal: new function to create control threads
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal_vfio_mp_sync.c
index b53ed7e..d104f89 100644 (file)
@@ -403,7 +403,7 @@ vfio_mp_sync_setup(void)
                return -1;
        }
 
-       ret = pthread_create(&socket_thread, NULL,
+       ret = rte_ctrl_thread_create(&socket_thread, NULL,
                        vfio_mp_sync_thread, NULL);
        if (ret) {
                RTE_LOG(ERR, EAL,