projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test wfcq: remove unneeded urcu.h include
[userspace-rcu.git]
/
tests
/
test_urcu_wfs.c
diff --git
a/tests/test_urcu_wfs.c
b/tests/test_urcu_wfs.c
index 1c852b9dd0abce809d5e7b679300673c88bbe469..259ca2499b0d73a7cfde967d7488906daccad121 100644
(file)
--- a/
tests/test_urcu_wfs.c
+++ b/
tests/test_urcu_wfs.c
@@
-39,6
+39,7
@@
#include <urcu/arch.h>
#include <urcu/tls-compat.h>
#include <urcu/arch.h>
#include <urcu/tls-compat.h>
+#include <urcu/uatomic.h>
#ifdef __linux__
#include <syscall.h>
#ifdef __linux__
#include <syscall.h>
@@
-65,7
+66,6
@@
static inline pid_t gettid(void)
#ifndef DYNAMIC_LINK_TEST
#define _LGPL_SOURCE
#endif
#ifndef DYNAMIC_LINK_TEST
#define _LGPL_SOURCE
#endif
-#include <urcu.h>
#include <urcu/wfstack.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 */
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)++;
return;
URCU_TLS(nr_pop_all)++;
This page took
0.023396 seconds
and
4
git commands to generate.