]> pd.if.org Git - nbds/blobdiff - struct/ht_test.c
free its keys too when freeing a ht
[nbds] / struct / ht_test.c
index c7e6d57c1d34c59f9cd4ae2ce89750f1e544e0d1..fd7652446706cd55a2a59dab1db106184a017f18 100644 (file)
@@ -93,7 +93,7 @@ void *simple_worker (void *arg) {
     hash_table_t *ht = wd->ht;
     CuTest* tc = wd->tc;
     uint64_t d = wd->id;
-    int iters = 20000;
+    int iters = 1000000;
 
     SYNC_ADD(wd->wait, -1);
     do { } while (*((volatile worker_data_t *)wd)->wait); // wait for all workers to be ready