projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
urcu-qsbr: move private definitions to .c file
[urcu.git]
/
rculfqueue.c
diff --git
a/rculfqueue.c
b/rculfqueue.c
index c8445256d09dc7e2534992a683592942c2e1259c..09ba9cf41fd8cde6f0cc58becba35066c95fada1 100644
(file)
--- a/
rculfqueue.c
+++ b/
rculfqueue.c
@@
-27,7
+27,7
@@
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/rculfqueue.h"
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/rculfqueue.h"
-#include "urcu/
rculfqueue-static
.h"
+#include "urcu/
static/rculfqueue
.h"
/*
* library wrappers to be used by non-LGPL compatible source code.
/*
* library wrappers to be used by non-LGPL compatible source code.
@@
-39,9
+39,15
@@
void cds_lfq_node_init_rcu(struct cds_lfq_node_rcu *node)
}
void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q,
}
void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q,
- void (*release)(struct urcu_ref *ref))
+ void queue_call_rcu(struct rcu_head *head,
+ void (*func)(struct rcu_head *head)))
{
{
- _cds_lfq_init_rcu(q, release);
+ _cds_lfq_init_rcu(q, queue_call_rcu);
+}
+
+int cds_lfq_destroy_rcu(struct cds_lfq_queue_rcu *q)
+{
+ return _cds_lfq_destroy_rcu(q);
}
void cds_lfq_enqueue_rcu(struct cds_lfq_queue_rcu *q, struct cds_lfq_node_rcu *node)
}
void cds_lfq_enqueue_rcu(struct cds_lfq_queue_rcu *q, struct cds_lfq_node_rcu *node)
This page took
0.023971 seconds
and
4
git commands to generate.