Hi, I am learning the URCU code.
Why do we need rcu_gp_lock in synchronize_rcu? https://github.com/urcu/userspace-rcu/blob/master/urcu.c#L401 In the comment, it says this lock ensures mutual exclusion between threads calling synchronize_rcu(). But only the first thread added to waiter queue can proceed to detect grace period. How can multiple threads currently perform the grace thread? Thanks a lot! Yuxin _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
