list_replace_rcu(9)

NAME

list_replace_rcu - replace old entry by new one

SYNOPSIS

void list_replace_rcu(struct list_head * old, struct list_head * new);

ARGUMENTS

old
the element to be replaced
new
the new element to insert

DESCRIPTION

The old entry will be replaced with the new entry atomically.

NOTE

old should not be empty.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout