projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-license arch_atomic_s390.h and arch_s390.h
[urcu.git]
/
test_qsbr.c
diff --git
a/test_qsbr.c
b/test_qsbr.c
index 2617629743e15a80b77da08b33de7cc7206e25f0..97b918d2dde75b962e9533e6fbbf8fe0d371c69c 100644
(file)
--- a/
test_qsbr.c
+++ b/
test_qsbr.c
@@
-257,13
+257,8
@@
void *thr_writer(void *_count)
for (;;) {
new = test_array_alloc();
for (;;) {
new = test_array_alloc();
- rcu_copy_mutex_lock();
- old = test_rcu_pointer;
- if (old)
- assert(old->a == 8);
new->a = 8;
old = _rcu_publish_content(&test_rcu_pointer, new);
new->a = 8;
old = _rcu_publish_content(&test_rcu_pointer, new);
- rcu_copy_mutex_unlock();
/* can be done after unlock */
if (old)
old->a = 0;
/* can be done after unlock */
if (old)
old->a = 0;
This page took
0.023272 seconds
and
4
git commands to generate.