diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-03 17:59:14 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-03 17:59:14 (GMT) |
commit | 986c7451a03aa8d54ce3b57ffd2e394665d360cc (patch) | |
tree | f026b4f18a17976c4f2072f5082bfa2654547b06 /src/H5private.h | |
parent | 0147d2493eed235ba31077a6da38608ce2fe152a (diff) | |
download | hdf5-986c7451a03aa8d54ce3b57ffd2e394665d360cc.zip hdf5-986c7451a03aa8d54ce3b57ffd2e394665d360cc.tar.gz hdf5-986c7451a03aa8d54ce3b57ffd2e394665d360cc.tar.bz2 |
Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX Threads
implementation ought to be portable to any system that has POSIX
Threads. On Windows, I use the same API call as before.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5private.h b/src/H5private.h index 41cef16..f0f3687 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1549,11 +1549,6 @@ extern char *strdup(const char *s); #define HDpthread_self() pthread_self() #endif /* HDpthread_self */ -/* Use this version of pthread_self for printing the thread ID */ -#ifndef HDpthread_self_ulong - #define HDpthread_self_ulong() ((unsigned long)pthread_self()) -#endif /* HDpthread_self_ulong */ - /* Macro for "stringizing" an integer in the C preprocessor (use H5_TOSTRING) */ /* (use H5_TOSTRING, H5_STRINGIZE is just part of the implementation) */ #define H5_STRINGIZE(x) #x |