X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.c;h=745676e209d3ff44dc828507e43ca8c09f023e9c;hp=1adaa9409926edb602302584347edf3febd7c7fd;hb=a767fdc348289dc37026ee3ab46d1d4102ff57f7;hpb=bce63dfd0a2306452c9e39f5df01789e77f3f44a diff --git a/urcu-qsbr.c b/urcu-qsbr.c index 1adaa94..745676e 100644 --- a/urcu-qsbr.c +++ b/urcu-qsbr.c @@ -39,6 +39,7 @@ #include "urcu/map/urcu-qsbr.h" #define BUILD_QSBR_LIB #include "urcu/static/urcu-qsbr.h" +#include "urcu-pointer.h" /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ #undef _LGPL_SOURCE @@ -348,8 +349,14 @@ 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)); + */ } +DEFINE_RCU_FLAVOR(rcu_flavor); + #include "urcu-call-rcu-impl.h" #include "urcu-defer-impl.h"