projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: call_rcu: teardown default call_rcu worker on application exit
[urcu.git]
/
src
/
urcu-qsbr.c
diff --git
a/src/urcu-qsbr.c
b/src/urcu-qsbr.c
index b538edc734ca231909d8154add1a2b90bc2072f9..318ab29c6e34afbd6957b90916c3cf84e03fe1bf 100644
(file)
--- a/
src/urcu-qsbr.c
+++ b/
src/urcu-qsbr.c
@@
-53,6
+53,7
@@
#define _LGPL_SOURCE
void __attribute__((destructor)) urcu_qsbr_exit(void);
#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
/*
* 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(®istry));
*/
* readers, and left running at exit.
* urcu_posix_assert(cds_list_empty(®istry));
*/
+ urcu_call_rcu_exit();
}
DEFINE_RCU_FLAVOR(rcu_flavor);
}
DEFINE_RCU_FLAVOR(rcu_flavor);
This page took
0.033152 seconds
and
4
git commands to generate.