summaryrefslogtreecommitdiffstats
path: root/src/H5TS.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-04-30 06:10:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-04-30 06:10:38 (GMT)
commitbd33a9d6da4f56884eaf5dc750186a6c02c90446 (patch)
tree2bb71d0ed2ebbb447c28e8e77ecf55ce01340d9f /src/H5TS.c
parentf63b2c50ac95fb8363a9b8143d3a3d5f50c58d35 (diff)
downloadhdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.zip
hdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.tar.gz
hdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.tar.bz2
[svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from revise_chunks branch to the trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
Diffstat (limited to 'src/H5TS.c')
-rw-r--r--src/H5TS.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5TS.c b/src/H5TS.c
index 6a64a14..7d46e95 100644
--- a/src/H5TS.c
+++ b/src/H5TS.c
@@ -256,7 +256,10 @@ H5TS_cancel_count_inc(void)
if (!cancel_counter) {
/*
* First time thread calls library - create new counter and associate
- * with key
+ * with key.
+ *
+ * Don't use H5MM calls here since the destructor has to use HDfree in
+ * order to avoid codestack calls.
*/
cancel_counter = (H5TS_cancel_t *)HDcalloc(1, sizeof(H5TS_cancel_t));