Add comment in rcu_add_lock
[urcu.git] / urcu.h
diff --git a/urcu.h b/urcu.h
index 9e9fea2b96fafa5c4688a1b1bf696284587df25f..277b7d2f45ae565610e4db9ee89457174fafa667 100644 (file)
--- a/urcu.h
+++ b/urcu.h
@@ -199,6 +199,7 @@ static inline void rcu_read_lock(void)
        debug_yield_read();
        tmp = urcu_active_readers;
        debug_yield_read();
+       /* urcu_gp_ctr = RCU_GP_COUNT | (~RCU_GP_CTR_BIT or RCU_GP_CTR_BIT) */
        if (likely(!(tmp & RCU_GP_CTR_NEST_MASK)))
                urcu_active_readers = urcu_gp_ctr;
        else
This page took 0.022053 seconds and 4 git commands to generate.