diff options
author | mread <qt-info@nokia.com> | 2011-02-16 15:19:33 (GMT) |
---|---|---|
committer | mread <qt-info@nokia.com> | 2011-03-09 12:46:51 (GMT) |
commit | 3d84f558a80b0c224b6c36808fd8f1fee8ace752 (patch) | |
tree | 90cbed8af0503be3482f5fded4bda017252f1559 /src/corelib/thread/qmutex_p.h | |
parent | 6f46333d84c6bbf538dfd06d96b726cd4c3438c1 (diff) | |
download | Qt-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.h | 6 |
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 |