* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* RCU traversal of the linked list.
*/
cds_list_for_each_entry_rcu(node, &mylist, node) {
printf("Value: %" PRIu64 "\n", node->value);
}
/*
* RCU traversal of the linked list.
*/
cds_list_for_each_entry_rcu(node, &mylist, node) {
printf("Value: %" PRIu64 "\n", node->value);
}
*/
cds_list_for_each_entry_safe(node, n, &mylist, node) {
cds_list_del_rcu(&node->node);
*/
cds_list_for_each_entry_safe(node, n, &mylist, node) {
cds_list_del_rcu(&node->node);