projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja test: destroy should be done online
[userspace-rcu.git]
/
tests
/
test_urcu_ja.c
diff --git
a/tests/test_urcu_ja.c
b/tests/test_urcu_ja.c
index 50f94cc771b5a0f089af98ca31b733660dcc9bc8..bad6784a446db3ecb1857de5c459dc93ffd66d13 100644
(file)
--- a/
tests/test_urcu_ja.c
+++ b/
tests/test_urcu_ja.c
@@
-836,13
+836,13
@@
int do_mt_test(void)
tot_add_exist += count_writer[i].add_exist;
tot_remove += count_writer[i].remove;
}
tot_add_exist += count_writer[i].add_exist;
tot_remove += count_writer[i].remove;
}
+ rcu_thread_online_qsbr();
ret = cds_ja_destroy(test_ja, free_node_cb);
if (ret) {
fprintf(stderr, "Error destroying judy array\n");
goto end;
}
ret = cds_ja_destroy(test_ja, free_node_cb);
if (ret) {
fprintf(stderr, "Error destroying judy array\n");
goto end;
}
- rcu_thread_online_qsbr();
free(tid_reader);
free(tid_writer);
free(tid_reader);
free(tid_writer);
This page took
0.023591 seconds
and
4
git commands to generate.