projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create per RCU flavor CDS libraries
[userspace-rcu.git]
/
rculfqueue.c
diff --git
a/rculfqueue.c
b/rculfqueue.c
index 09ba9cf41fd8cde6f0cc58becba35066c95fada1..09b858791d8a8babc0bff46741e188b423fd23ea 100644
(file)
--- a/
rculfqueue.c
+++ b/
rculfqueue.c
@@
-21,8
+21,14
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-/* Use the urcu symbols to select the appropriate rcu flavor at link time */
-#include "urcu.h"
+
+#ifdef RCU_QSBR
+# include "urcu-qsbr.h"
+#elif defined(RCU_BP)
+# include "urcu-bp.h"
+#else
+# include "urcu.h"
+#endif
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
This page took
0.022905 seconds
and
4
git commands to generate.