Introduce urcu_assert and registration check
[urcu.git] / urcu / static / urcu-bp.h
index b6d5f132778380c57af501307cf25e017c92c8ec..0fcaa3aa272806aa9c8786c96b7675de4fcfddd3 100644 (file)
@@ -39,6 +39,7 @@
 #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.
 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,
This page took 0.023097 seconds and 4 git commands to generate.