summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-12 12:13:34 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-01-12 12:13:34 (GMT)
commitc96c83df302fe35b9ac98528b288a8ed2ac65286 (patch)
treee4c53e965acd3d5d3c24b43790410c9d1d999671 /src/corelib
parent4da15757269feb872432c43a3516a1349d6dcf39 (diff)
parent04bdf9f6a77e9ebf96431f89b8240a037b3d2b09 (diff)
downloadQt-c96c83df302fe35b9ac98528b288a8ed2ac65286.zip
Qt-c96c83df302fe35b9ac98528b288a8ed2ac65286.tar.gz
Qt-c96c83df302fe35b9ac98528b288a8ed2ac65286.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/thread/qreadwritelock.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qreadwritelock.cpp b/src/corelib/thread/qreadwritelock.cpp
index 3463eab..bd07a97 100644
--- a/src/corelib/thread/qreadwritelock.cpp
+++ b/src/corelib/thread/qreadwritelock.cpp
@@ -82,7 +82,7 @@ QT_BEGIN_NAMESPACE
Like QMutex, a QReadWriteLock can be recursively locked by the
same thread when constructed in
- \l{QReadWriteLock::RecursionMode}recursive mode}. In such cases,
+ \l{QReadWriteLock::RecursionMode}. In such cases,
unlock() must be called the same number of times lockForWrite() or
lockForRead() was called. Note that the lock type cannot be
changed when trying to lock recursively, i.e. it is not possible
@@ -266,12 +266,12 @@ bool QReadWriteLock::tryLockForRead(int timeout)
return true;
}
- /*!
+/*!
Locks the lock for writing. This function will block the current
thread if another thread has locked for reading or writing.
\sa unlock() lockForRead() tryLockForWrite()
- */
+*/
void QReadWriteLock::lockForWrite()
{
QMutexLocker lock(&d->mutex);