X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Furcu-qsbr.c;h=318ab29c6e34afbd6957b90916c3cf84e03fe1bf;hb=90f72b8c054ca4e3b4b45f630549c784e26ce79a;hp=a3382857a7f358ab2f6bd548df6504c35e8bbadf;hpb=4974ad5f21d2cb17d313504f8d1252738526d588;p=userspace-rcu.git diff --git a/src/urcu-qsbr.c b/src/urcu-qsbr.c index a338285..318ab29 100644 --- a/src/urcu-qsbr.c +++ b/src/urcu-qsbr.c @@ -53,6 +53,7 @@ #define _LGPL_SOURCE void __attribute__((destructor)) urcu_qsbr_exit(void); +static void urcu_call_rcu_exit(void); /* * rcu_gp_lock ensures mutual exclusion between threads calling @@ -509,9 +510,11 @@ void urcu_qsbr_exit(void) * readers, and left running at exit. * urcu_posix_assert(cds_list_empty(®istry)); */ + urcu_call_rcu_exit(); } DEFINE_RCU_FLAVOR(rcu_flavor); #include "urcu-call-rcu-impl.h" #include "urcu-defer-impl.h" +#include "urcu-poll-impl.h"