#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>
This commit is contained in:
parent
70ff7d097b
commit
0cc97411d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user