qt6-bb10/src
Olivier Goffart f805020410 Fix a race that occurred as we unlock the mutex to destroy the functor in ~QObject
When we unlock the mutex, we need to take in account that the Connection
pointed by 'node' may be destroyed in another thread while it is unlocked
Doing  'node->prev = &node'  will make sure that 'node' is actually
updated when it is destroyed.

Setting isSlotObject under the mutex is safer and ensure that no other
thread will attempt to deref the object.

The regression was introduced in 5885b8f775

tst_qobjectrace was updated to catch races arising when we are
connecting with function pointers.

Change-Id: Ia0d11ae8df563dad97eb86993a786b579b28cd03
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-11-26 08:24:25 +01:00
..
3rdparty Fix xkb.h compile warning on 32 bit systems 2013-11-21 09:25:23 +01:00
android REG: Fix changing input method parameters on Android 2013-11-14 21:15:35 +01:00
angle use private linkage where possible 2013-10-31 19:49:32 +01:00
concurrent Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
corelib Fix a race that occurred as we unlock the mutex to destroy the functor in ~QObject 2013-11-26 08:24:25 +01:00
dbus Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
gui Avoid incorrect warning when painting onto a QImage 2013-11-23 15:44:55 +01:00
network QSslConfiguration: rename [get]session() to [get]sessionTicket() 2013-11-08 18:58:27 +01:00
opengl Doc: Fix broken links 2013-11-05 00:29:01 +01:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport Android: Initialize mWindowState 2013-11-14 21:15:35 +01:00
plugins iOS: Update statusbar visibility and screen properties before window geometry 2013-11-25 23:56:40 +01:00
printsupport Match up the specified paper size to an existing one if possible 2013-11-14 21:15:35 +01:00
sql Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
testlib Revert "Add tracing to logging framework" 2013-11-07 11:29:30 +01:00
tools Doc: Updated the \l links in the manual 2013-11-14 21:15:35 +01:00
widgets Revert "Android: Use native platform menus." 2013-11-25 23:56:27 +01:00
winmain winmain for winrt 2013-09-14 15:42:24 +02:00
xml Fully expand entities to ensure deep or widely nested ones fail parsing 2013-11-14 17:43:58 +01:00
src.pro Explicitly mark subdirs as host_builds in SUBDIRS template 2013-10-18 18:01:54 +02:00