Fix: call_rcu: teardown default call_rcu worker on application exit
[urcu.git] / src / urcu-qsbr.c
index b538edc734ca231909d8154add1a2b90bc2072f9..318ab29c6e34afbd6957b90916c3cf84e03fe1bf 100644 (file)
@@ -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,6 +510,7 @@ void urcu_qsbr_exit(void)
         * readers, and left running at exit.
         * urcu_posix_assert(cds_list_empty(&registry));
         */
+       urcu_call_rcu_exit();
 }
 
 DEFINE_RCU_FLAVOR(rcu_flavor);
This page took 0.022375 seconds and 4 git commands to generate.