From: Mathieu Desnoyers Date: Wed, 14 Sep 2011 17:36:12 +0000 (-0400) Subject: qsbr vs call_rcu : remove exit assertion X-Git-Tag: v0.6.6~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b66274a0e7baf0a4341e99f306dc1834e751a789;p=userspace-rcu.git qsbr vs call_rcu : remove exit assertion Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-qsbr.c b/urcu-qsbr.c index a59a87a..5530295 100644 --- a/urcu-qsbr.c +++ b/urcu-qsbr.c @@ -349,7 +349,11 @@ void rcu_unregister_thread(void) void rcu_exit(void) { - assert(cds_list_empty(®istry)); + /* + * Assertion disabled because call_rcu threads are now rcu + * readers, and left running at exit. + * assert(cds_list_empty(®istry)); + */ } #include "urcu-call-rcu-impl.h"