diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2011-12-06 02:52:15 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2011-12-06 02:52:15 (GMT) |
commit | 354adf632e861e3a0e94af461d9d97a38e969484 (patch) | |
tree | aabbca2de6991855c476360149ed674495accbc6 /src/H5private.h | |
parent | 8478d450161ed5b52ee0f58873a5596633e3c094 (diff) | |
download | hdf5-354adf632e861e3a0e94af461d9d97a38e969484.zip hdf5-354adf632e861e3a0e94af461d9d97a38e969484.tar.gz hdf5-354adf632e861e3a0e94af461d9d97a38e969484.tar.bz2 |
[svn-r21816] Fix for JIRA HDFFV-7780
Updates Windows thread-safe code in H5TS.c to use _beginthread instead of CreateThread.
Tested on 64-bit Windows 7 with Visual Studio 2010 using CMake. Both 32- and 64-bit builds were tested.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index e6ad056..94f7aad 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -151,12 +151,16 @@ #ifdef H5_HAVE_WIN32_API -#define WIN32_LEAN_AND_MEAN /*Exclude rarely-used stuff from Windows headers */ +#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */ #ifdef H5_HAVE_WINSOCK_H #include <winsock2.h> #endif +#ifdef H5_HAVE_THREADSAFE +#include <process.h> /* For _beginthread() */ +#endif + #include <windows.h> #include <direct.h> /* For _getcwd() */ |