projects
/
libside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Event registration/unregistration
[libside.git]
/
src
/
rcu.c
diff --git
a/src/rcu.c
b/src/rcu.c
index bd6059cc3cacfa6b43cede802c6bd6154d0b1624..bb3bfed60b37efb1d8458732c836a23ba985dad9 100644
(file)
--- a/
src/rcu.c
+++ b/
src/rcu.c
@@
-164,3
+164,9
@@
void side_rcu_gp_init(struct side_rcu_gp_state *rcu_gp)
if (!rcu_gp->percpu_state)
abort();
}
+
+void side_rcu_gp_exit(struct side_rcu_gp_state *rcu_gp)
+{
+ pthread_mutex_destroy(&rcu_gp->gp_lock);
+ free(rcu_gp->percpu_state);
+}
This page took
0.022202 seconds
and
4
git commands to generate.