diff options
| author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-04-04 14:33:25 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-04 20:11:09 +0200 |
| commit | f2a181c38ae40f4538ff5efde346ba74279828d7 (patch) | |
| tree | d9e8152d4b1c5a816f4d85b31d2a7b474bc41acf /src/corelib/thread/qwaitcondition.h | |
| parent | fd2ddb076e325cbaed9c4ac045eab4f0294174af (diff) | |
Change the parameter name of the mutex in a QWaitCondition.
IDEs pick up hints like this, so it makes it more clear to the user
what they need to pass in.
Change-Id: I5de272395fc98391cf43963ce4416a845726bb2c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qwaitcondition.h')
| -rw-r--r-- | src/corelib/thread/qwaitcondition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qwaitcondition.h b/src/corelib/thread/qwaitcondition.h index f6e41aef4ef..d3a24958f63 100644 --- a/src/corelib/thread/qwaitcondition.h +++ b/src/corelib/thread/qwaitcondition.h @@ -63,8 +63,8 @@ public: QWaitCondition(); ~QWaitCondition(); - bool wait(QMutex *mutex, unsigned long time = ULONG_MAX); - bool wait(QReadWriteLock *readWriteLock, unsigned long time = ULONG_MAX); + bool wait(QMutex *lockedMutex, unsigned long time = ULONG_MAX); + bool wait(QReadWriteLock *lockedReadWriteLock, unsigned long time = ULONG_MAX); void wakeOne(); void wakeAll(); |
