diff options
author | mread <qt-info@nokia.com> | 2010-10-21 09:39:36 (GMT) |
---|---|---|
committer | mread <qt-info@nokia.com> | 2010-10-21 10:20:45 (GMT) |
commit | 131774bb881a8a80503f4719fc7a7459521acdf0 (patch) | |
tree | ec53f72498f4580664cff5e0d9dad61fb3b4fcbb /bin | |
parent | 7e7bf0449d567c99882a37bb138221dfca9a3ed0 (diff) | |
download | Qt-131774bb881a8a80503f4719fc7a7459521acdf0.zip Qt-131774bb881a8a80503f4719fc7a7459521acdf0.tar.gz Qt-131774bb881a8a80503f4719fc7a7459521acdf0.tar.bz2 |
Using TLS to store QThreadData on Symbian
TLS access on Symbian is significantly faster than using
pthread_getspecific. In the case of QThreadData, the data associated
with a thread, it makes sense to store and access the pointer in TLS
rather than using the pthread thread specific functions.
However, the pthread thread specific function have some destructor
functionality that Symbian TLS does not, so Symbian still uses the
pthread functions for setting the QThreadData to get the destruction
behaviour.
This change has wide ranging performance benefits for QML execution.
With improvements shown on a number of the declarative benchmarks.
Frame drawing times on test apps are also showing some improvement.
The qthread* autotests have been run on Symbian^3 and Ubuntu 10.10
Task-number: QT-4089
Reviewed-by: Shane Kearns
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions