projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compare hash value before call compare_fct()
[urcu.git]
/
urcu-bp.h
diff --git
a/urcu-bp.h
b/urcu-bp.h
index fdf885c71113d2f4add67ba4354d00bfd20fcfa7..451bedb8dd4700b2f69c788682695005ef71af36 100644
(file)
--- a/
urcu-bp.h
+++ b/
urcu-bp.h
@@
-38,7
+38,8
@@
#include <pthread.h>
/*
#include <pthread.h>
/*
- * See urcu-pointer.h and urcu-pointer-static.h for pointer publication headers.
+ * See urcu-pointer.h and urcu/static/urcu-pointer.h for pointer
+ * publication headers.
*/
#include <urcu-pointer.h>
*/
#include <urcu-pointer.h>
@@
-46,7
+47,7
@@
extern "C" {
#endif
extern "C" {
#endif
-#include
"urcu-bp-map.h"
+#include
<urcu/map/urcu-bp.h>
/*
* Important !
/*
* Important !
@@
-58,7
+59,7
@@
extern "C" {
#ifdef _LGPL_SOURCE
#ifdef _LGPL_SOURCE
-#include <urcu
-bp-static
.h>
+#include <urcu
/static/urcu-bp
.h>
/*
* Mappings for static use of the userspace RCU library.
/*
* Mappings for static use of the userspace RCU library.
@@
-71,14
+72,14
@@
extern "C" {
*
* Mark the beginning and end of a read-side critical section.
*/
*
* Mark the beginning and end of a read-side critical section.
*/
-#define rcu_read_lock_bp
() _rcu_read_lock()
-#define rcu_read_unlock_bp
() _rcu_read_unlock()
+#define rcu_read_lock_bp
_rcu_read_lock
+#define rcu_read_unlock_bp
_rcu_read_unlock
#else /* !_LGPL_SOURCE */
/*
* library wrappers to be used by non-LGPL compatible source code.
#else /* !_LGPL_SOURCE */
/*
* library wrappers to be used by non-LGPL compatible source code.
- * See LGPL-only urcu
-pointer-static
.h for documentation.
+ * See LGPL-only urcu
/static/urcu-pointer
.h for documentation.
*/
extern void rcu_read_lock(void);
*/
extern void rcu_read_lock(void);
@@
-113,10
+114,26
@@
static inline void rcu_init(void)
{
}
{
}
+/*
+ * Q.S. reporting are no-ops for these URCU flavors.
+ */
+static inline void rcu_quiescent_state(void)
+{
+}
+
+static inline void rcu_thread_offline(void)
+{
+}
+
+static inline void rcu_thread_online(void)
+{
+}
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
-#include "urcu-call-rcu.h"
+#include <urcu-call-rcu.h>
+#include <urcu-defer.h>
#endif /* _URCU_BP_H */
#endif /* _URCU_BP_H */
This page took
0.025164 seconds
and
4
git commands to generate.