qt5base-lts/tests/auto/other
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
..
atwrapper
baselineexample
collections Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
compiler
gestures
headersclean headersclean: process private modules correctly 2013-07-03 15:31:13 +02:00
lancelot OpenGL autotests: verify create()/makeCurrent() 2013-09-30 14:18:38 +02:00
languagechange
macgui MacGui tests: Remove references to CGPostMouseEvent 2013-10-29 18:30:48 +01:00
macnativeevents Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
macplist Update Info.plist templates to use the current standard plist format. 2013-08-02 05:42:37 +02:00
modeltest don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
networkselftest Fix tst_networkselftest build for WEC7. 2013-04-17 19:48:55 +02:00
qaccessibility Change return type of imagePosition to QPoint 2013-10-15 12:42:17 +02:00
qaccessibilitylinux Let platform plugin decide if accessibility is active 2013-04-19 17:52:45 +02:00
qaccessibilitymac Cocoa Accessibility: fix ignoring of objects 2013-06-07 14:54:39 +02:00
qcomplextext
qfocusevent
qnetworkaccessmanager_and_qprogressdialog Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qobjectperformance
qobjectrace Fix a race that occurred as we unlock the mutex to destroy the functor in ~QObject 2013-11-26 08:24:25 +01:00
qsharedpointer_and_qwidget
qtokenautomaton
qvariant_common
windowsmobile Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
other.pro Remove exception safety tests 2013-08-07 13:36:18 +02:00