X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.c;h=1b0bd6950da04533c35bf00a5c131ac4da3e470b;hp=fc6eedf56a545dde91e1fa8b96456af5bc593158;hb=32c15e4e6fa2c368f4649d904c91e4293a1193e3;hpb=2dfb8b5e30bc2d268bcbc57eceb9c54d21b36d90 diff --git a/urcu-bp.c b/urcu-bp.c index fc6eedf..1b0bd69 100644 --- 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); /*