projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove leftover manual pthread detection
[urcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index 3e7873171733a100d83ea1433c54080cf1b1e791..d7d107f3788f3a70cec57be5380ae1ff1bbff173 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-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;
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;
poison_free(ht);
end:
return ret;
This page took
0.02345 seconds
and
4
git commands to generate.