projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce urcu_assert and registration check
[urcu.git]
/
urcu
/
static
/
urcu-bp.h
diff --git
a/urcu/static/urcu-bp.h
b/urcu/static/urcu-bp.h
index b6d5f132778380c57af501307cf25e017c92c8ec..0fcaa3aa272806aa9c8786c96b7675de4fcfddd3 100644
(file)
--- a/
urcu/static/urcu-bp.h
+++ b/
urcu/static/urcu-bp.h
@@
-39,6
+39,7
@@
#include <urcu/uatomic.h>
#include <urcu/list.h>
#include <urcu/tls-compat.h>
#include <urcu/uatomic.h>
#include <urcu/list.h>
#include <urcu/tls-compat.h>
+#include <urcu/debug.h>
/*
* This code section can only be included in LGPL 2.1 compatible source code.
/*
* This code section can only be included in LGPL 2.1 compatible source code.
@@
-52,12
+53,6
@@
extern "C" {
#endif
extern "C" {
#endif
-#ifdef DEBUG_RCU
-#define rcu_assert(args...) assert(args)
-#else
-#define rcu_assert(args...)
-#endif
-
enum rcu_state {
RCU_READER_ACTIVE_CURRENT,
RCU_READER_ACTIVE_OLD,
enum rcu_state {
RCU_READER_ACTIVE_CURRENT,
RCU_READER_ACTIVE_OLD,
This page took
0.024093 seconds
and
4
git commands to generate.