projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workqueue: test for empty queue before taking lock
[userspace-rcu.git]
/
urcu-pointer.h
diff --git
a/urcu-pointer.h
b/urcu-pointer.h
index 03bfe793c6aaf339a03d7aa0e64bed0b105a8646..5be986ca65a0d6aab3027812fdbc2f0b4acdffb5 100644
(file)
--- a/
urcu-pointer.h
+++ b/
urcu-pointer.h
@@
-34,7
+34,7
@@
extern "C" {
#endif
extern "C" {
#endif
-#if
def _LGPL_SOURCE
+#if
defined(_LGPL_SOURCE) || defined(URCU_INLINE_SMALL_FUNCTIONS)
#include <urcu/static/urcu-pointer.h>
#include <urcu/static/urcu-pointer.h>
@@
-62,7
+62,7
@@
extern "C" {
#define rcu_xchg_pointer _rcu_xchg_pointer
#define rcu_set_pointer _rcu_set_pointer
#define rcu_xchg_pointer _rcu_xchg_pointer
#define rcu_set_pointer _rcu_set_pointer
-#else /* !
_LGPL_SOURCE
*/
+#else /* !
(defined(_LGPL_SOURCE) || defined(URCU_INLINE_SMALL_FUNCTIONS))
*/
extern void *rcu_dereference_sym(void *p);
#define rcu_dereference(p) \
extern void *rcu_dereference_sym(void *p);
#define rcu_dereference(p) \
@@
-108,7
+108,7
@@
extern void *rcu_set_pointer_sym(void **p, void *v);
_________pv); \
} while (0)
_________pv); \
} while (0)
-#endif /* !
_LGPL_SOURCE
*/
+#endif /* !
(defined(_LGPL_SOURCE) || defined(URCU_INLINE_SMALL_FUNCTIONS))
*/
/*
* void rcu_assign_pointer(type *ptr, type *new)
/*
* void rcu_assign_pointer(type *ptr, type *new)
This page took
0.026294 seconds
and
4
git commands to generate.