projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add rcu_assign_pointer
[urcu.git]
/
urcu.c
diff --git
a/urcu.c
b/urcu.c
index 31cdf6fc08b61c14e0a8f47d93154c0d54599ccc..23a985b9f9f4cdaf992c227322720e38bc139d85 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-174,7
+174,7
@@
void *urcu_publish_content(void **ptr, void *new)
*/
oldptr = *ptr;
debug_yield_write();
*/
oldptr = *ptr;
debug_yield_write();
-
*ptr = new
;
+
rcu_assign_pointer(*ptr, new)
;
debug_yield_write();
switch_qparity();
debug_yield_write();
switch_qparity();
This page took
0.02251 seconds
and
4
git commands to generate.