qt5base-lts/tests/auto
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
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Complete split of QtConcurrent. 2012-02-06 16:48:22 +01:00
corelib QMimeDatabase: Fix crash on empty filename 2012-03-06 12:10:42 +01:00
dbus Avoid using internal testlib API in QDbusConnection autotest. 2012-03-05 03:44:01 +01:00
gui Stabilize tst_QShortcut 2012-03-06 01:34:53 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QSslCertificate - make lazy initialisation thread safe 2012-03-06 12:25:22 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Stabilize tst_QAccessibility::actionTest 2012-03-06 01:34:50 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql restore previously non-working disabled test 2012-02-28 07:29:00 +01:00
testlib testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY. 2012-03-05 05:32:03 +01:00
tools remove injection of default_pre in infile()/$$fromfile() 2012-03-05 14:46:12 +01:00
widgets Stabilize tst_QCalendarWidget::buttonClickCheck 2012-03-06 01:34:55 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Disable 'check' target generation for network autotests for Windows. 2012-02-17 11:48:08 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00