X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=urcu-pointer-static.h;h=06b8881a5ad3d1549f93f48ee977d1efde4a93d6;hb=2ff1db4a7825af40f327413305de6f9955af0e35;hp=c2ba80025a2703b7edd69ac017ecc5cb9b57d1bc;hpb=7e30abe3df0e83eeb741bfc18d07cb016af804a1;p=urcu.git diff --git a/urcu-pointer-static.h b/urcu-pointer-static.h index c2ba800..06b8881 100644 --- a/urcu-pointer-static.h +++ b/urcu-pointer-static.h @@ -102,19 +102,6 @@ STORE_SHARED(*(p), v); \ }) -/* - * _rcu_publish_content - Exchanges the pointer and waits for quiescent state. - * - * The pointer returned can be freed. - */ -#define _rcu_publish_content(p, v) \ - ({ \ - void *oldptr; \ - oldptr = _rcu_xchg_pointer(p, v); \ - synchronize_rcu(); \ - oldptr; \ - }) - /** * _rcu_assign_pointer - assign (publicize) a pointer to a new data structure * meant to be read by RCU read-side critical sections. Returns the assigned