projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RCU wait-free stack: add _blocking in pop() primitive name
[userspace-rcu.git]
/
tests
/
test_urcu_wfs.c
diff --git
a/tests/test_urcu_wfs.c
b/tests/test_urcu_wfs.c
index 4802ee73d7745a73340fa2767f295d605fb10eca..73655c1dcec7c6ffbb8b23f42d2acb544eb54ff0 100644
(file)
--- a/
tests/test_urcu_wfs.c
+++ b/
tests/test_urcu_wfs.c
@@
-218,7
+218,7
@@
void *thr_dequeuer(void *_count)
smp_mb();
for (;;) {
smp_mb();
for (;;) {
- struct rcu_wfs_node *node = rcu_wfs_pop(&s);
+ struct rcu_wfs_node *node = rcu_wfs_pop
_blocking
(&s);
if (node) {
defer_rcu(free, node);
if (node) {
defer_rcu(free, node);
@@
-249,7
+249,7
@@
void test_end(struct rcu_wfs_stack *s, unsigned long long *nr_dequeues)
struct rcu_wfs_node *node;
do {
struct rcu_wfs_node *node;
do {
- node = rcu_wfs_pop(s);
+ node = rcu_wfs_pop
_blocking
(s);
if (node) {
free(node);
(*nr_dequeues)++;
if (node) {
free(node);
(*nr_dequeues)++;
This page took
0.024366 seconds
and
4
git commands to generate.