qt5base-lts/tests/auto/network
Shane Kearns 00821ec710 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
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2012-03-06 12:25:22 +01:00
..
access Change bugreports.qt.nokia.com -> bugreports.qt-project.org 2012-03-02 23:16:25 +01:00
bearer Changed qnetworksession unittest to work from installation dir 2012-02-21 01:01:52 +01:00
kernel Merge remote-tracking branch 'origin/api_changes' 2012-03-04 21:45:05 +01:00
socket Merge remote-tracking branch 'origin/api_changes' 2012-03-04 21:45:05 +01:00
ssl QSslCertificate - make lazy initialisation thread safe 2012-03-06 12:25:22 +01:00
network.pro Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00