diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-09-01 17:27:27 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-09-01 17:27:27 (GMT) |
commit | ab299db44b80aaffbcdfe4eb692d061ddec9ff3f (patch) | |
tree | 0d6a70c2348fdb9329c3f6ce98162dda969e260c | |
parent | f589bb679f2650267f4c1b59fa4146a2e63aa5af (diff) | |
download | hdf5-ab299db44b80aaffbcdfe4eb692d061ddec9ff3f.zip hdf5-ab299db44b80aaffbcdfe4eb692d061ddec9ff3f.tar.gz hdf5-ab299db44b80aaffbcdfe4eb692d061ddec9ff3f.tar.bz2 |
[svn-r21353] HDFFV-4018: static function for windows and pthreads
-rw-r--r-- | src/H5TS.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -127,6 +127,12 @@ H5TS_pthread_first_thread_init(void) { H5_g.H5_libinit_g = FALSE; +#ifdef _WIN32 +# ifdef PTW32_STATIC_LIB + pthread_win32_process_attach_np(); +# endif +#endif + /* initialize global API mutex lock */ pthread_mutex_init(&H5_g.init_lock.atomic_lock, NULL); pthread_cond_init(&H5_g.init_lock.cond_var, NULL); |