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 5572d39da65f1030510274b0618e301e893cfbcd..e5ac0539c47072154084bdb518b8a559076b1e55 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
@@
-524,6
+525,7
@@
void urcu_qsbr_exit(void)
* readers, and left running at exit.
* assert(cds_list_empty(®istry));
*/
* readers, and left running at exit.
* assert(cds_list_empty(®istry));
*/
+ urcu_call_rcu_exit();
}
URCU_ATTR_ALIAS("urcu_qsbr_exit") void rcu_exit_qsbr();
}
URCU_ATTR_ALIAS("urcu_qsbr_exit") void rcu_exit_qsbr();
This page took
0.022396 seconds
and
4
git commands to generate.