X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-static.h;h=0708df7c344038682595a39b3eb0fe977200d859;hp=bd11be8d212fbd942d42ba00fd33711347b04c39;hb=78ff941908d1c336106c06649c0892015cc98e18;hpb=df3c6c5feccea6314219e4892cbba805c881b4ba diff --git a/urcu-static.h b/urcu-static.h index bd11be8..0708df7 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -216,7 +216,7 @@ static inline void _rcu_read_lock(void) _STORE_SHARED(rcu_reader.ctr, _LOAD_SHARED(rcu_gp_ctr)); /* * Set active readers count for outermost nesting level before - * accessing the pointer. See force_mb_all_threads(). + * accessing the pointer. See force_mb_all_readers(). */ reader_barrier(); } else { @@ -231,7 +231,7 @@ static inline void _rcu_read_unlock(void) tmp = rcu_reader.ctr; /* * Finish using rcu before decrementing the pointer. - * See force_mb_all_threads(). + * See force_mb_all_readers(). */ if (likely((tmp & RCU_GP_CTR_NEST_MASK) == RCU_GP_COUNT)) { reader_barrier();