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 a3382857a7f358ab2f6bd548df6504c35e8bbadf..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,9
+510,11
@@
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);
#include "urcu-call-rcu-impl.h"
#include "urcu-defer-impl.h"
}
DEFINE_RCU_FLAVOR(rcu_flavor);
#include "urcu-call-rcu-impl.h"
#include "urcu-defer-impl.h"
+#include "urcu-poll-impl.h"
This page took
0.023509 seconds
and
4
git commands to generate.