projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qsbr urcu: make it safe to call rcu_sychronize from a registered thread.
[userspace-rcu.git]
/
urcu-qsbr.c
diff --git
a/urcu-qsbr.c
b/urcu-qsbr.c
index 14733ab21e1b61d10bf93ecc082967cdf9d717cd..c0f055441930ab8718cd4d4347325bd6671dc2fc 100644
(file)
--- a/
urcu-qsbr.c
+++ b/
urcu-qsbr.c
@@
-114,6
+114,9
@@
static void wait_for_quiescent_state(void)
{
struct reader_registry *index;
+ if (rcu_reader_qs_gp & 1)
+ rcu_reader_qs_gp = urcu_gp_ctr + 1;
+
if (!registry)
return;
/*
This page took
0.023939 seconds
and
4
git commands to generate.