summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-02-29 15:53:24 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-04 14:35:17 (GMT)
commit656fab5e848fd14e5d00536a4babbb2f33dbcfb7 (patch)
tree607a05515e81d2ba9f46dcb3ea609ac0a0217c7d /src/3rdparty/harfbuzz
parent8108650b24adbe03543eb29015ea9bda86d0068e (diff)
downloadQt-656fab5e848fd14e5d00536a4babbb2f33dbcfb7.zip
Qt-656fab5e848fd14e5d00536a4babbb2f33dbcfb7.tar.gz
Qt-656fab5e848fd14e5d00536a4babbb2f33dbcfb7.tar.bz2
QSslCertificate - make lazy initialisation thread safe
QSslCertificate can be copied around into multiple threads, without detaching. For example, the https worker threads inside QNetworkAccessManager. There are const methods, which lazily initialise members of the private class without detaching (i.e. caching results of expensive function calls) These functions now lock the d pointer using QMutexPool to avoid concurrency related crashes. autotest crashes 20% of the time in release builds without the fix, passes 100 times in a row with the fix. Task-number: QTBUG-20452 Change-Id: I64a01af8159216f2dd6215a08669890f6c029ca8 (cherry picked from commit 55bf4ed9468ad467a0b681d2d041edbc2a5a4d21) Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/3rdparty/harfbuzz')
0 files changed, 0 insertions, 0 deletions