#include <urcu/futex.h>
#include <urcu/tls-compat.h>
#include <urcu/rand-compat.h>
+#include <urcu/urcu-checker.h>
#ifdef __cplusplus
extern "C" {
{
unsigned long tmp;
+ rcu_read_lock_debug();
cmm_barrier();
tmp = URCU_TLS(rcu_reader).ctr;
_rcu_read_lock_update(tmp);
tmp = URCU_TLS(rcu_reader).ctr;
_rcu_read_unlock_update_and_wakeup(tmp);
cmm_barrier(); /* Ensure the compiler does not reorder us with mutex */
+ rcu_read_unlock_debug();
}
/*