qt5base-lts/tests/auto/corelib/statemachine
Kent Hansen 8efcfda41f statemachine: Really fix signal transition handling in multi-threaded setup
Commit f9a17d7f0f fixed it for the case
where the sender object is in a different thread at transition setup
time. However, it still didn't work if either the sender object or the
state machine was moved to a different thread at some later time,
before the machine was started.

Therefore: Bite the sour grape and traverse all the machine's
transitions when the machine is being started, registering those
signal transitions whose sender objects are in other threads.

This will increase the machine's startup time (proportional to the
number of transitions), but at least it works in all known scenarios,
meaning we don't have to document weird restrictions regarding the
order in which the user's operations have to be done.

Task-number: QTBUG-19789
Change-Id: I5f1dd1321994e49635f52be65cf56d2678ed1253
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-08-08 14:13:53 +02:00
..
qstate Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstatemachine statemachine: Really fix signal transition handling in multi-threaded setup 2012-08-08 14:13:53 +02:00
statemachine.pro Moving relevant tests to corelib/statemachine 2011-09-01 12:54:42 +02:00