Test for CPU_SET
[urcu.git] / tests / test_urcu_wfs.c
index 1c852b9dd0abce809d5e7b679300673c88bbe469..259ca2499b0d73a7cfde967d7488906daccad121 100644 (file)
@@ -39,6 +39,7 @@
 
 #include <urcu/arch.h>
 #include <urcu/tls-compat.h>
+#include <urcu/uatomic.h>
 
 #ifdef __linux__
 #include <syscall.h>
@@ -65,7 +66,6 @@ static inline pid_t gettid(void)
 #ifndef DYNAMIC_LINK_TEST
 #define _LGPL_SOURCE
 #endif
-#include <urcu.h>
 #include <urcu/wfstack.h>
 
 /*
@@ -256,7 +256,7 @@ static void do_test_pop_all(enum test_sync sync)
                cds_wfs_pop_unlock(&s);
 
        /* Check if empty */
-       if (cds_wfs_first_blocking(head) == NULL)
+       if (cds_wfs_first(head) == NULL)
                return;
 
        URCU_TLS(nr_pop_all)++;
This page took 0.024725 seconds and 4 git commands to generate.