X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=README;h=e3800faad2d10cc5789c0a622c14f5ade9962ae1;hp=1e76f2d1b098bb9579d573fcf8f36211c3c7c5f9;hb=cc558521e7bc8767bc78c93436cd4af3c6c84edd;hpb=4501f28414425eb594bd1396161a91cb23a11a6f diff --git a/README b/README index 1e76f2d..e3800fa 100644 --- a/README +++ b/README @@ -187,6 +187,15 @@ Interaction with mutexes mutex in its dependency chain) should not be acquired from within a RCU read-side critical section. + This is especially important to understand in the context of the + QSBR flavor: a registered reader thread being "online" by + default should be considered as within a RCU read-side critical + section unless explicitly put "offline". Therefore, if + synchronize_rcu() is called with a mutex held, this mutex, as + well as any mutex which has this mutex in its dependency chain + should only be taken when the RCU reader thread is "offline" + (this can be performed by calling rcu_thread_offline()). + Usage of DEBUG_RCU DEBUG_RCU is used to add internal debugging self-checks to the