projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rculfhash test: -A option for auto resize
[urcu.git]
/
tests
/
test_urcu_lfs.c
diff --git
a/tests/test_urcu_lfs.c
b/tests/test_urcu_lfs.c
index a7f9af3abd5086ee21e73aa0f3269530e612886a..252454d29aeb46d4758e30b2a7f6b864cc8e3b65 100644
(file)
--- a/
tests/test_urcu_lfs.c
+++ b/
tests/test_urcu_lfs.c
@@
-229,7
+229,9
@@
void *thr_dequeuer(void *_count)
for (;;) {
struct cds_lfs_node_rcu *node;
+ rcu_read_lock();
node = cds_lfs_pop_rcu(&s);
+ rcu_read_unlock();
if (node) {
defer_rcu(free, node);
nr_successful_dequeues++;
This page took
0.024848 seconds
and
4
git commands to generate.