rculfhash: add CDS_LFHT_ACCOUNTING flag
[urcu.git] / tests / test_urcu_hash.c
index 70db8b3ca750f398f7314c9a6b794b3140d1bd20..9ae1fa0791cec5bbbf89e4513bd33a030977911d 100644 (file)
@@ -889,7 +889,8 @@ int main(int argc, char **argv)
        rcu_register_thread();
        test_ht = cds_lfht_new(test_hash, test_compare, 0x42UL,
                        init_hash_size, 1,
-                       opt_auto_resize ? CDS_LFHT_AUTO_RESIZE : 0, NULL);
+                       (opt_auto_resize ? CDS_LFHT_AUTO_RESIZE : 0) |
+                       CDS_LFHT_ACCOUNTING, NULL);
        ret = populate_hash();
        assert(!ret);
 
This page took 0.022931 seconds and 4 git commands to generate.