rcuja: use rcu ja app flavor for shadow hash table
[userspace-rcu.git] / rcuja / rcuja-internal.h
index b892a8747cf89b5250369b5558c6830c9647ff33..a5aae07dceeddf5b871772a98d0c1fa06b2390c8 100644 (file)
@@ -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);
 
This page took 0.022642 seconds and 4 git commands to generate.