X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Flist%2Fcds_list_del_rcu.c;h=1f4265c73e82fd9342de9049bef577c3acc95f15;hb=ddec79fd4f75b5ae0c49ee25c843220cf060cb96;hp=c35510136f07a8b2ed6469a52fb1386b8992b365;hpb=06ced8d6ec9084d8ebbbd9425f0ad2ba5e249e53;p=urcu.git diff --git a/doc/examples/list/cds_list_del_rcu.c b/doc/examples/list/cds_list_del_rcu.c index c355101..1f4265c 100644 --- a/doc/examples/list/cds_list_del_rcu.c +++ b/doc/examples/list/cds_list_del_rcu.c @@ -16,7 +16,7 @@ #include -#include /* Userspace RCU flavor */ +#include /* Userspace RCU flavor */ #include /* RCU list */ #include /* For CAA_ARRAY_SIZE */ @@ -72,7 +72,7 @@ int main(int argc, char **argv) * We can only reclaim memory after a grace * period has passed after cds_list_del_rcu(). */ - call_rcu(&node->rcu_head, free_node_rcu); + urcu_memb_call_rcu(&node->rcu_head, free_node_rcu); } }