summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex_p.h
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-02-16 15:19:33 (GMT)
committermread <qt-info@nokia.com>2011-03-09 12:46:51 (GMT)
commit3d84f558a80b0c224b6c36808fd8f1fee8ace752 (patch)
tree90cbed8af0503be3482f5fded4bda017252f1559 /src/corelib/thread/qmutex_p.h
parent6f46333d84c6bbf538dfd06d96b726cd4c3438c1 (diff)
downloadQt-3d84f558a80b0c224b6c36808fd8f1fee8ace752.zip
Qt-3d84f558a80b0c224b6c36808fd8f1fee8ace752.tar.gz
Qt-3d84f558a80b0c224b6c36808fd8f1fee8ace752.tar.bz2
Trigger for using RFastLock
__SYMBIAN_KERNEL_HYBRID_HEAP__ is not directly related to RFastLock's timed wait functions, but it was added at about the right time so is effective. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
Diffstat (limited to 'src/corelib/thread/qmutex_p.h')
-rw-r--r--src/corelib/thread/qmutex_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex_p.h b/src/corelib/thread/qmutex_p.h
index 789d1f0..c213c80 100644
--- a/src/corelib/thread/qmutex_p.h
+++ b/src/corelib/thread/qmutex_p.h
@@ -64,7 +64,11 @@
#if defined(Q_OS_SYMBIAN)
# include <e32std.h>
-#undef QT_SYMBIAN_USE_RFASTLOCK
+# ifdef __SYMBIAN_KERNEL_HYBRID_HEAP__
+# define QT_SYMBIAN_USE_RFASTLOCK
+# else
+# undef QT_SYMBIAN_USE_RFASTLOCK
+# endif
#endif
QT_BEGIN_NAMESPACE