Fix: update ax_pthread macro to handle newer clang
[urcu.git] / rculfhash.c
index 3e7873171733a100d83ea1433c54080cf1b1e791..d7d107f3788f3a70cec57be5380ae1ff1bbff173 100644 (file)
@@ -1799,6 +1799,9 @@ int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr)
        free_split_items_count(ht);
        if (attr)
                *attr = ht->resize_attr;
+       ret = pthread_mutex_destroy(&ht->resize_mutex);
+       if (ret)
+               ret = -EBUSY;
        poison_free(ht);
 end:
        return ret;
This page took 0.022466 seconds and 4 git commands to generate.