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_rw.c
diff --git
a/tests/benchmark/test_urcu_hash_rw.c
b/tests/benchmark/test_urcu_hash_rw.c
index 0c4ab20b53d5c3dc35fa2a50316c0f8bb72da5ad..b76603e6742db7f702ed38d46cd6c73fac4bfff3 100644
(file)
--- a/
tests/benchmark/test_urcu_hash_rw.c
+++ b/
tests/benchmark/test_urcu_hash_rw.c
@@
-59,10
+59,7
@@
void *test_hash_rw_thr_reader(void *_count)
rcu_register_thread();
- while (!test_go)
- {
- }
- cmm_smp_mb();
+ wait_until_go();
for (;;) {
rcu_read_lock();
@@
-119,10
+116,7
@@
void *test_hash_rw_thr_writer(void *_count)
rcu_register_thread();
- while (!test_go)
- {
- }
- cmm_smp_mb();
+ wait_until_go();
for (;;) {
struct cds_lfht_node *ret_node = NULL;
This page took
0.023652 seconds
and
4
git commands to generate.