projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove ifndef for API_H
[urcu.git]
/
urcu
/
list.h
diff --git
a/urcu/list.h
b/urcu/list.h
index 82c2ea4b9375855313c5b6cfaa5922415dfdeaea..6384728bc054d551fccd811cec27f43dc41d61da 100644
(file)
--- a/
urcu/list.h
+++ b/
urcu/list.h
@@
-80,6
+80,13
@@
list_del (list_t *elem)
__list_del (elem->prev, elem->next);
}
__list_del (elem->prev, elem->next);
}
+/* delete from list, add to another list as head */
+static inline void
+list_move (list_t *elem, list_t *head)
+{
+ __list_del (elem->prev, elem->next);
+ list_add (elem, head);
+}
/* Join two lists. */
static inline void
/* Join two lists. */
static inline void
This page took
0.023694 seconds
and
4
git commands to generate.