projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b14ea
)
urcu-bp: reset ctr to 0 upon garbage collection
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Wed, 3 Mar 2010 14:08:30 +0000
(09:08 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Wed, 3 Mar 2010 14:08:30 +0000
(09:08 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-bp.c
patch
|
blob
|
blame
|
history
diff --git
a/urcu-bp.c
b/urcu-bp.c
index 1b0bd6950da04533c35bf00a5c131ac4da3e470b..3af7c3b9712879b3b74481900b5ee615cae7f8e0 100644
(file)
--- a/
urcu-bp.c
+++ b/
urcu-bp.c
@@
-300,6
+300,7
@@
static void rcu_gc_registry(void)
assert(ret != EINVAL);
if (ret == ESRCH) {
list_del(&rcu_reader_reg->head);
+ rcu_reader_reg->ctr = 0;
rcu_reader_reg->alloc = 0;
registry_arena.used -= sizeof(struct rcu_reader);
}
This page took
0.025767 seconds
and
4
git commands to generate.