summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-11 16:28:53 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-14 03:45:50 +0200
commit0cc97411d51a8e9fda2be7d406ecdcb0e57e5a12 (patch)
treed97f417e3aaa116d24610729e7dd8b2bb3d50f52 /src/corelib/thread
parent70ff7d097bdf214c53b0ca94a8ae51017da32fe6 (diff)
#include the qmutex_xxx.cpp at the end of qmutex.cpp
This produces slightly better inlining results. Change-Id: Ie86471577f888cb2d9c9989306ec69ce0a296108 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qmutex.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index 35bb3ac78e..305074f096 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -577,7 +577,16 @@ void QRecursiveMutexPrivate::unlock() Q_DECL_NOTHROW
}
}
-
QT_END_NAMESPACE
+#ifdef QT_LINUX_FUTEX
+# include "qmutex_linux.cpp"
+#elif defined(Q_OS_MAC)
+# include "qmutex_mac.cpp"
+#elif defined(Q_OS_WIN)
+# include "qmutex_win.cpp"
+#else
+# include "qmutex_unix.cpp"
+#endif
+
#endif // QT_NO_THREAD