X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu%2Frcuja.h;h=0ab05183720a3dbdaa8c46057f4d8e41bf0317ee;hb=354981c2381634c1e79872a98d979f2faebeee0e;hp=9a006a395bcc31a3748acd42e134036a5a5e4254;hpb=d553beef47f7dfb7e60af14a93e34f60940207ea;p=userspace-rcu.git diff --git a/urcu/rcuja.h b/urcu/rcuja.h index 9a006a3..0ab0518 100644 --- a/urcu/rcuja.h +++ b/urcu/rcuja.h @@ -62,6 +62,9 @@ struct cds_hlist_head cds_ja_lookup(struct cds_ja *ja, uint64_t key); int cds_ja_add(struct cds_ja *ja, uint64_t key, struct cds_ja_node *new_node); +struct cds_ja_node *cds_ja_add_unique(struct cds_ja *ja, uint64_t key, + struct cds_ja_node *new_node); + int cds_ja_del(struct cds_ja *ja, uint64_t key, struct cds_ja_node *node);