projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make defer_rcu() usable from library using multiple URCU implementations
[urcu.git]
/
urcu.h
diff --git
a/urcu.h
b/urcu.h
index 00d9b757ee628ba69c4c294a20f4f842be1a932f..15c8c3897f13072fd607c6c97a7cb188b0f14b87 100644
(file)
--- a/
urcu.h
+++ b/
urcu.h
@@
-71,14
+71,14
@@
extern "C" {
* READ-SIDE CRITICAL SECTION.
*/
#ifdef RCU_MEMBARRIER
* READ-SIDE CRITICAL SECTION.
*/
#ifdef RCU_MEMBARRIER
-#define rcu_read_lock_memb
() _rcu_read_lock()
-#define rcu_read_unlock_memb
() _rcu_read_unlock()
+#define rcu_read_lock_memb
_rcu_read_lock
+#define rcu_read_unlock_memb
_rcu_read_unlock
#elif defined(RCU_SIGNAL)
#elif defined(RCU_SIGNAL)
-#define rcu_read_lock_sig
() _rcu_read_lock()
-#define rcu_read_unlock_sig
() _rcu_read_unlock()
+#define rcu_read_lock_sig
_rcu_read_lock
+#define rcu_read_unlock_sig
_rcu_read_unlock
#elif defined(RCU_MB)
#elif defined(RCU_MB)
-#define rcu_read_lock_mb
() _rcu_read_lock()
-#define rcu_read_unlock_mb
() _rcu_read_unlock()
+#define rcu_read_lock_mb
_rcu_read_lock
+#define rcu_read_unlock_mb
_rcu_read_unlock
#endif
#else /* !_LGPL_SOURCE */
#endif
#else /* !_LGPL_SOURCE */
@@
-111,5
+111,6
@@
extern void rcu_init(void);
#endif
#include "urcu-call-rcu.h"
#endif
#include "urcu-call-rcu.h"
+#include "urcu-defer.h"
#endif /* _URCU_H */
#endif /* _URCU_H */
This page took
0.033574 seconds
and
4
git commands to generate.