summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-13 10:48:33 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-07-13 11:29:50 (GMT)
commit0aca5cf05288dc4d2175d1c4a78bf62a5ea96b21 (patch)
tree3a78b849d375a553db786f3b35e7196b91d95765 /src/corelib
parent3d55ab91148c13f1905a4c1983d144efb4315297 (diff)
downloadQt-0aca5cf05288dc4d2175d1c4a78bf62a5ea96b21.zip
Qt-0aca5cf05288dc4d2175d1c4a78bf62a5ea96b21.tar.gz
Qt-0aca5cf05288dc4d2175d1c4a78bf62a5ea96b21.tar.bz2
doc: Clarified what Qt::HANDLE is on Windows.
Task-number: 193615
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/thread/qthread.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index 24522f2..2e31c6d 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -261,9 +261,14 @@ void QAdoptedThread::run()
Returns the thread handle of the currently executing thread.
\warning The handle returned by this function is used for internal
- purposes and should not be used in any application code. On
- Windows, the returned value is a pseudo-handle for the current
- thread that cannot be used for numerical comparison.
+ purposes and should not be used in any application code.
+
+ \warning On Windows, the returned value is a pseudo-handle for the
+ current thread. It can't be used for numerical comparison. i.e.,
+ this function returns the DWORD (Windows-Thread ID) returned by
+ the Win32 function getCurrentThreadId(), not the HANDLE
+ (Windows-Thread HANDLE) returned by the Win32 function
+ getCurrentThread().
*/
/*!