projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use xchg in publish content
[userspace-rcu.git]
/
test_urcu.c
diff --git
a/test_urcu.c
b/test_urcu.c
index 39408a0bdd6d7141915b66222a9d64a7f655a7c3..b92a7d74de5c23fd55d5959e8e5f514d314ef090 100644
(file)
--- a/
test_urcu.c
+++ b/
test_urcu.c
@@
-127,7
+127,7
@@
void *thr_writer(void *arg)
if (old)
assert(old->a == 8);
new->a = 8;
- old = urcu_publish_content(
(void **)
&test_rcu_pointer, new);
+ old = urcu_publish_content(&test_rcu_pointer, new);
rcu_copy_mutex_unlock();
/* can be done after unlock */
if (old)
This page took
0.024559 seconds
and
4
git commands to generate.