X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=urcu.c;h=07537efbc55c90943b49f1a240aab5935fc55bc7;hb=599dd1cab8011f43e54f2eb613e695281380e5e4;hp=39f5619773ba383b402fb1c536672af990129ed3;hpb=0a1d290b4432036a7c1bf4a1b251ec9086036a87;p=urcu.git diff --git a/urcu.c b/urcu.c index 39f5619..07537ef 100644 --- a/urcu.c +++ b/urcu.c @@ -52,7 +52,7 @@ pthread_mutex_t urcu_mutex = PTHREAD_MUTEX_INITIALIZER; /* * Global grace period counter. * Contains the current RCU_GP_CTR_BIT. - * Also has a RCU_GP_CTR_BIT of 1, to accelerate the reader fast path. + * Also has a RCU_GP_COUNT of 1, to accelerate the reader fast path. * Written to only by writer with mutex taken. Read by both writer and readers. */ long urcu_gp_ctr = RCU_GP_COUNT;