Review of documentation.
authorMichele Caini <michele.caini@gmail.com>
Mon, 8 Oct 2012 20:34:39 +0000 (22:34 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 13 Oct 2012 13:47:27 +0000 (15:47 +0200)
Documentation has been updated, changes apply to Qt5 as well as Qt4.

Change-Id: I562914a439d8d27dc9e6b1aa117007edce214cc6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/corelib/thread/qmutex.cpp

index ee1037d..3815ce1 100644 (file)
@@ -162,8 +162,9 @@ public:
 
     If \a mode is QMutex::Recursive, a thread can lock the same mutex
     multiple times and the mutex won't be unlocked until a
-    corresponding number of unlock() calls have been made. The
-    default is QMutex::NonRecursive.
+    corresponding number of unlock() calls have been made. Otherwise
+    a thread may only lock a mutex once. The default is
+    QMutex::NonRecursive.
 
     \sa lock(), unlock()
 */
@@ -371,6 +372,13 @@ bool QBasicMutex::isRecursive()
     \sa unlock()
 */
 
+/*!
+    \fn QMutex *QMutexLocker::mutex()
+
+    Returns the mutex on which the QMutexLocker is operating.
+
+*/
+
 #ifndef QT_LINUX_FUTEX //linux implementation is in qmutex_linux.cpp
 
 /*