projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tap array subscript has type char warning
[userspace-rcu.git]
/
doc
/
examples
/
list
/
cds_list_del_rcu.c
diff --git
a/doc/examples/list/cds_list_del_rcu.c
b/doc/examples/list/cds_list_del_rcu.c
index c35510136f07a8b2ed6469a52fb1386b8992b365..1f4265c73e82fd9342de9049bef577c3acc95f15 100644
(file)
--- a/
doc/examples/list/cds_list_del_rcu.c
+++ b/
doc/examples/list/cds_list_del_rcu.c
@@
-16,7
+16,7
@@
#include <stdio.h>
#include <stdio.h>
-#include <urcu
.h>
/* Userspace RCU flavor */
+#include <urcu
/urcu-memb.h>
/* Userspace RCU flavor */
#include <urcu/rculist.h> /* RCU list */
#include <urcu/compiler.h> /* For CAA_ARRAY_SIZE */
#include <urcu/rculist.h> /* RCU list */
#include <urcu/compiler.h> /* 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().
*/
* 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);
}
}
}
}
This page took
0.023208 seconds
and
4
git commands to generate.