From 43ae941b8d7dc73db3fa74755ab9b46260aa698c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 4 Oct 2022 07:54:52 -0700 Subject: [PATCH] QWaitCondition/Doc: add a simple explanation of the time units Fixes: QTBUG-107174 Change-Id: Id8d5e3999fe94b03acc1fffd171ae572957e15bc Reviewed-by: Giuseppe D'Angelo Reviewed-by: Leena Miettinen (cherry picked from commit 71f32653cb97040fccce41037e2a7b32a787a4c9) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/thread/qwaitcondition.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/corelib/thread/qwaitcondition.qdoc b/src/corelib/thread/qwaitcondition.qdoc index bd3a675192d..435771e1d84 100644 --- a/src/corelib/thread/qwaitcondition.qdoc +++ b/src/corelib/thread/qwaitcondition.qdoc @@ -98,10 +98,16 @@ /*! \fn bool QWaitCondition::wait(QMutex *lockedMutex, unsigned long time) \overload + + Releases the \a lockedMutex and waits on the wait condition for \a time + milliseconds. */ /*! \fn bool QWaitCondition::wait(QReadWriteLock *lockedReadWriteLock, unsigned long time) \overload + + Releases the \a lockedReadWriteLock and waits on the wait condition for \a + time milliseconds. */ /*!