qt5base-lts/tests/auto/corelib
David Faure 9ee27005ee qDebug: fix data race in qt_message_print
The setting of (static) messageHandler to qDefaultMessageHandler if null
was happening in multiple threads simultaneously, so it needs synchronization.

Used an atomic pointer in case qInstallMessageHandler is called from a thread,
but more importantly, initialized the static vars right away.

Improve auto test to ensure that qInstallMessageHandler(0) still sets the
default message handler.

Change-Id: I70335af38c1d28a1cdba1df8a79c6006f227422e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-07-01 20:23:31 +02:00
..
animation tst_qpauseanimation: Fix condition in QEXPECT_FAIL. 2014-01-30 22:10:22 +01:00
codecs Merge remote-tracking branch 'origin/release' into stable 2014-05-14 12:37:34 +02:00
global Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
io qDebug: fix data race in qt_message_print 2014-07-01 20:23:31 +02:00
itemmodels QAbstractProxyModel::sibling: treat row/column as offsets within the proxy 2014-05-29 11:11:02 +02:00
json Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
kernel Re-add missing test to kernel.pro 2014-04-02 03:07:12 +02:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin Android: Fix compilation of qpluginloader test 2014-06-30 08:59:35 +02:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread Fix tst_qthreadpool under high load. 2014-03-14 22:38:49 +01:00
tools tst_qcollator: Exclude failing test cases for non-ICU/Windows. 2014-06-30 15:02:06 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00