projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja-range: get values
[userspace-rcu.git]
/
rcuja
/
rcuja-range.c
diff --git
a/rcuja/rcuja-range.c
b/rcuja/rcuja-range.c
index 72a7609e11badfca7b7313fca71617497d3f3a17..7e4585ef942d76f1811f3c958fff3138ac120ca3 100644
(file)
--- a/
rcuja/rcuja-range.c
+++ b/
rcuja/rcuja-range.c
@@
-217,6
+217,14
@@
void cds_ja_range_unlock(struct cds_ja_range *range)
pthread_mutex_unlock(&range->lock);
}
pthread_mutex_unlock(&range->lock);
}
+void cds_ja_range_get_values(const struct cds_ja_range *range,
+ uint64_t *start, uint64_t *end, void **priv)
+{
+ *start = range->start;
+ *end = range->end;
+ *priv = range->priv;
+}
+
static
struct cds_ja_range *range_create(
uint64_t start, /* inclusive */
static
struct cds_ja_range *range_create(
uint64_t start, /* inclusive */
This page took
0.025564 seconds
and
4
git commands to generate.