X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=23a985b9f9f4cdaf992c227322720e38bc139d85;hp=31cdf6fc08b61c14e0a8f47d93154c0d54599ccc;hb=e462817ecdce42b00f0cb0825e2425b08943105b;hpb=1430ee0bdca4cb454d534ef7fc84af3e0692f26b diff --git a/urcu.c b/urcu.c index 31cdf6f..23a985b 100644 --- a/urcu.c +++ b/urcu.c @@ -174,7 +174,7 @@ void *urcu_publish_content(void **ptr, void *new) */ oldptr = *ptr; debug_yield_write(); - *ptr = new; + rcu_assign_pointer(*ptr, new); debug_yield_write(); switch_qparity();