Rechercher une page de manuel
list_add_rcu
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
list_add_rcu - add a new entry to rcu-protected listSYNOPSIS
- void list_add_rcu(struct list_head * new, struct list_head * head);
ARGUMENTS
new
- new entry to be added
head
- list head to add it after
DESCRIPTION
Insert a new entry after the specified head. This is good for implementing stacks.
The caller must take whatever precautions are necessary (such as holding appropriate locks) to avoid racing with another list-mutation primitive, such as list_add_rcu or list_del_rcu, running on this same list. However, it is perfectly legal to run concurrently with the _rcu list-traversal primitives, such as list_for_each_entry_rcu.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre