diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-02-05 20:15:16 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-02-05 22:07:33 (GMT) |
commit | be0cd0b64aef3f64b15d5fc89cd15213ad939763 (patch) | |
tree | 40f8887cb3125a297f67327097a97793c7b3d4be /src/H5TSprivate.h | |
parent | 469c56d8a9378bd9ff74d6456aa9d8e598867da4 (diff) | |
parent | 00608a8756330fc387cde90c397562103c857671 (diff) | |
download | hdf5-be0cd0b64aef3f64b15d5fc89cd15213ad939763.zip hdf5-be0cd0b64aef3f64b15d5fc89cd15213ad939763.tar.gz hdf5-be0cd0b64aef3f64b15d5fc89cd15213ad939763.tar.bz2 |
Merge branch 'develop' of ssh://git@bitbucket.hdfgroup.org:7999/~jhenderson/hdf5.git into develop
Diffstat (limited to 'src/H5TSprivate.h')
-rw-r--r-- | src/H5TSprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5TSprivate.h b/src/H5TSprivate.h index 9e093a6..f22ed52 100644 --- a/src/H5TSprivate.h +++ b/src/H5TSprivate.h @@ -68,7 +68,7 @@ H5_DLL void H5TS_win32_process_exit(void); H5_DLL herr_t H5TS_win32_thread_enter(void); H5_DLL herr_t H5TS_win32_thread_exit(void); - +#define H5TS_thread_id() ((uint64_t)GetCurrentThreadId()) #else /* H5_HAVE_WIN_THREADS */ @@ -102,6 +102,7 @@ typedef pthread_once_t H5TS_once_t; #define H5TS_mutex_init(mutex) pthread_mutex_init(mutex, NULL) #define H5TS_mutex_lock_simple(mutex) pthread_mutex_lock(mutex) #define H5TS_mutex_unlock_simple(mutex) pthread_mutex_unlock(mutex) +H5_DLL uint64_t H5TS_thread_id(void); #endif /* H5_HAVE_WIN_THREADS */ |