diff options
author | hdftest <hdftest@hdfgroup.org> | 2018-09-20 19:59:17 (GMT) |
---|---|---|
committer | hdftest <hdftest@hdfgroup.org> | 2018-09-20 19:59:17 (GMT) |
commit | 04a2d68778bc978ac62b03b5b5bfa034e2ced7f7 (patch) | |
tree | 8eb0dde943224b0caed11dee349862ce7a9aefa6 /src/H5TS.c | |
parent | e2f6e6f62f8885e85540c870ff3e3370b7617c79 (diff) | |
parent | d3074fa8bd8cb5eb266741203b68ce9129c2d7dc (diff) | |
download | hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.zip hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.tar.gz hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.tar.bz2 |
Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~hdftest/hdf5_hft into develop
Diffstat (limited to 'src/H5TS.c')
-rw-r--r-- | src/H5TS.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -359,7 +359,6 @@ H5TS_win32_process_enter(PINIT_ONCE InitOnce, PVOID Parameter, PVOID *lpContex) ret_value = FALSE; #endif /* H5_HAVE_CODESTACK */ - /* Set up thread local storage */ if(TLS_OUT_OF_INDEXES == (H5TS_apictx_key_g = TlsAlloc())) ret_value = FALSE; @@ -428,12 +427,9 @@ H5TS_win32_process_exit(void) /* Clean up per-process thread local storage */ TlsFree(H5TS_errstk_key_g); - #ifdef H5_HAVE_CODESTACK TlsFree(H5TS_funcstk_key_g); #endif /* H5_HAVE_CODESTACK */ - - /* Clean up per-process thread local storage */ TlsFree(H5TS_apictx_key_g); return; @@ -479,7 +475,6 @@ H5TS_win32_thread_exit(void) LocalFree((HLOCAL)lpvData); #endif /* H5_HAVE_CODESTACK */ - /* Clean up per-thread thread local storage */ lpvData = TlsGetValue(H5TS_apictx_key_g); if(lpvData) LocalFree((HLOCAL)lpvData); @@ -534,3 +529,4 @@ H5TS_create_thread(void *(*func)(void *), H5TS_attr_t *attr, void *udata) } /* H5TS_create_thread */ #endif /* H5_HAVE_THREADSAFE */ + |