rcuja-range: get values
[userspace-rcu.git] / rcuja / rcuja-range.c
index 72a7609e11badfca7b7313fca71617497d3f3a17..7e4585ef942d76f1811f3c958fff3138ac120ca3 100644 (file)
@@ -217,6 +217,14 @@ void cds_ja_range_unlock(struct cds_ja_range *range)
        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 */
This page took 0.023758 seconds and 4 git commands to generate.