statemachine: Make signal transition registration thread-safe
authorKent Hansen <kent.hansen@nokia.com>
Thu, 12 Jul 2012 19:54:41 +0000 (21:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 10:09:42 +0000 (12:09 +0200)
commit95b6826ed47b0341d21b631712c65f895b4c38e0
treea2edb998feea258e91952687e1133d1570b6a4b9
parentf9a17d7f0f02f7af849afdf653a763ffdaf78a1b
statemachine: Make signal transition registration thread-safe

Since Qt's connections are thread-safe, QStateMachine's plumbing
around them should be thread-safe too.

Change-Id: I8ae91c2edc2d32ca4ed4258b71e5da22de30ed91
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/corelib/statemachine/qstatemachine.cpp
src/corelib/statemachine/qstatemachine_p.h
tests/auto/corelib/statemachine/qstatemachine/tst_qstatemachine.cpp