summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
-rw-r--r--src/corelib/thread/qmutex.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index 2906a5a198..35bb3ac78e 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -361,6 +361,14 @@ bool QBasicMutex::isRecursive()
/*!
\internal helper for lock()
*/
+void QBasicMutex::lockInternal() QT_MUTEX_LOCK_NOEXCEPT
+{
+ lockInternal(-1);
+}
+
+/*!
+ \internal helper for lock(int)
+ */
bool QBasicMutex::lockInternal(int timeout) QT_MUTEX_LOCK_NOEXCEPT
{
Q_ASSERT(!isRecursive());