projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: add missing SPDX licensing tags
[userspace-rcu.git]
/
tests
/
benchmark
/
test_urcu_hash_unique.c
diff --git
a/tests/benchmark/test_urcu_hash_unique.c
b/tests/benchmark/test_urcu_hash_unique.c
index b8381b5c9e37478c8b9f8052669f09bbd3bc805a..487baa878e698cc01bad314cd34d5b77cb615fe0 100644
(file)
--- a/
tests/benchmark/test_urcu_hash_unique.c
+++ b/
tests/benchmark/test_urcu_hash_unique.c
@@
-57,10
+57,7
@@
void *test_hash_unique_thr_reader(void *_count)
rcu_register_thread();
- while (!test_go)
- {
- }
- cmm_smp_mb();
+ wait_until_go();
for (;;) {
struct lfht_test_node *node;
@@
-122,10
+119,7
@@
void *test_hash_unique_thr_writer(void *_count)
rcu_register_thread();
- while (!test_go)
- {
- }
- cmm_smp_mb();
+ wait_until_go();
for (;;) {
/*
This page took
0.024437 seconds
and
4
git commands to generate.