Update comments
[urcu.git] / urcu-bp.c
index fc6eedf56a545dde91e1fa8b96456af5bc593158..1b0bd6950da04533c35bf00a5c131ac4da3e470b 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
@@ -122,7 +122,7 @@ void update_counter_and_wait(void)
        int wait_loops = 0;
        struct rcu_reader *index, *tmp;
 
-       /* Switch parity: 1 -> 0, 0 -> 1 */
+       /* Switch parity: 0 -> 1, 1 -> 0 */
        STORE_SHARED(rcu_gp_ctr, rcu_gp_ctr ^ RCU_GP_CTR_PHASE);
 
        /*
This page took 0.021829 seconds and 4 git commands to generate.