summaryrefslogtreecommitdiffstats
path: root/src/H5Oname.c
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-06-02 20:39:52 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-06-02 20:39:52 (GMT)
commitd83709c4e6d274ea83b2b0e865d776c244727a38 (patch)
treea0780c07c794081b014e5aecd881c247fac05263 /src/H5Oname.c
parentcfb75e1f7f1cc084ca63ef9c63bc2a7779a384d9 (diff)
downloadhdf5-d83709c4e6d274ea83b2b0e865d776c244727a38.zip
hdf5-d83709c4e6d274ea83b2b0e865d776c244727a38.tar.gz
hdf5-d83709c4e6d274ea83b2b0e865d776c244727a38.tar.bz2
[svn-r15128] Purpose: Make Windows threadsafe debug message more useful
Description: On Linux-like systems, we can get the ID of the current thread through a pthread_self. However on Windows, the return cannot be cast as a threadID, so we simply couldn't get the ID. Previously we simply gave up and printed a message that we couldn't get an ID. Instead, though, we can use the Windows-specific call to GetCurrentThreadId(), which achieves the same goal. This way we can provide better debug output with threadsafe features. Tested: VS2005 on WinXP VS.NET on WinXP (other platforms not tested because change is within _WIN32 ifdef)
Diffstat (limited to 'src/H5Oname.c')
0 files changed, 0 insertions, 0 deletions