X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=ffdab3c2fc1eacbad2c4e73f5e89e83261fdb8d5;hp=e93170d749b4c939884840767febcc3e3d820997;hb=32c15e4e6fa2c368f4649d904c91e4293a1193e3;hpb=2dfb8b5e30bc2d268bcbc57eceb9c54d21b36d90 diff --git a/urcu.c b/urcu.c index e93170d..ffdab3c 100644 --- 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; - /* Switch parity: 1 -> 0, 0 -> 1 */ + /* Switch parity: 0 -> 1, 1 -> 0 */ STORE_SHARED(rcu_gp_ctr, rcu_gp_ctr ^ RCU_GP_CTR_PHASE); /*