Update comments
[urcu.git] / urcu.c
diff --git a/urcu.c b/urcu.c
index e93170d749b4c939884840767febcc3e3d820997..ffdab3c2fc1eacbad2c4e73f5e89e83261fdb8d5 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -205,7 +205,7 @@ void update_counter_and_wait(void)
        int wait_loops = 0;
        struct rcu_reader *index, *tmp;
 
        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);
 
        /*
        STORE_SHARED(rcu_gp_ctr, rcu_gp_ctr ^ RCU_GP_CTR_PHASE);
 
        /*
This page took 0.022105 seconds and 4 git commands to generate.