X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=urcu-qsbr.c;h=c0f055441930ab8718cd4d4347325bd6671dc2fc;hb=d1238495fdaf1c85447690231bf5d1838b83bf88;hp=14733ab21e1b61d10bf93ecc082967cdf9d717cd;hpb=90c1618acef5a848409867e9ff2dab7c8b859457;p=userspace-rcu.git diff --git a/urcu-qsbr.c b/urcu-qsbr.c index 14733ab..c0f0554 100644 --- a/urcu-qsbr.c +++ b/urcu-qsbr.c @@ -114,6 +114,9 @@ static void wait_for_quiescent_state(void) { struct reader_registry *index; + if (rcu_reader_qs_gp & 1) + rcu_reader_qs_gp = urcu_gp_ctr + 1; + if (!registry) return; /*