projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic urcu deferral (call_rcu())
[userspace-rcu.git]
/
urcu-defer.h
diff --git
a/urcu-defer.h
b/urcu-defer.h
index 456b8b7ff9bcbc635731cca576a609dc6de8c289..3e04c00fddb09d1cdd8465945eba4acbe385967a 100644
(file)
--- a/
urcu-defer.h
+++ b/
urcu-defer.h
@@
-57,10
+57,13
@@
* library wrappers to be used by non-LGPL compatible source code.
*/
* library wrappers to be used by non-LGPL compatible source code.
*/
-extern void rcu_defer_queue(void *p);
+extern void rcu_defer_queue(void
(*fct)(void *p), void
*p);
#endif /* !_LGPL_SOURCE */
#endif /* !_LGPL_SOURCE */
+#define call_rcu rcu_defer_queue
+#define rcu_reclaim_queue(p) rcu_defer_queue(free, p)
+
/*
* Thread registration for reclamation.
*/
/*
* Thread registration for reclamation.
*/
This page took
0.022613 seconds
and
4
git commands to generate.