X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=rcuja%2Frcuja-internal.h;h=a5aae07dceeddf5b871772a98d0c1fa06b2390c8;hb=5eb692c04e2089c97642bd1937343d90be04d691;hp=b892a8747cf89b5250369b5558c6830c9647ff33;hpb=25fde237be5027b94803d514f92d65a0263b65e9;p=userspace-rcu.git diff --git a/rcuja/rcuja-internal.h b/rcuja/rcuja-internal.h index b892a87..a5aae07 100644 --- a/rcuja/rcuja-internal.h +++ b/rcuja/rcuja-internal.h @@ -37,6 +37,7 @@ struct rcu_ja_shadow_node { struct rcu_ja_node *node; /* reverse mapping and hash table key */ pthread_mutex_t lock; /* mutual exclusion on node */ struct rcu_head head; /* for deferred node and shadow node reclaim */ + const struct rcu_flavor_struct *flavor; /* rcu flavor */ }; struct rcu_ja { @@ -61,7 +62,7 @@ __attribute__((visibility("protected"))) int rcuja_shadow_clear_and_free_node(struct cds_lfht *ht, struct rcu_ja_node *node); __attribute__((visibility("protected"))) -struct cds_lfht *rcuja_create_ht(void); +struct cds_lfht *rcuja_create_ht(const struct rcu_flavor_struct *flavor); __attribute__((visibility("protected"))) void rcuja_delete_ht(struct cds_lfht *ht);