rculfhash: document algorithms
[urcu.git] / urcu / rculfhash.h
index 99b43a8ba0ec4b178b60f1e9491b7176a3204f1f..b98b4932922e02fab3cd53e6630a46ca3b848a06 100644 (file)
@@ -9,9 +9,8 @@ extern "C" {
 #endif
 
 struct _rcu_ht_node {
-       struct rcu_ht_node *next;
+       struct rcu_ht_node *next;       /* ptr | DUMMY_FLAG | REMOVED_FLAG */
        unsigned long reverse_hash;
-       unsigned int dummy;
 };
 
 struct rcu_ht_node {
@@ -41,7 +40,6 @@ void ht_node_init(struct rcu_ht_node *node, void *key,
 {
        node->key = key;
        node->key_len = key_len;
-       node->p.dummy = 0;
 }
 
 /*
This page took 0.022929 seconds and 4 git commands to generate.