diff options
author | jian liang <jianliang79@gmail.com> | 2012-02-19 14:09:44 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-28 14:35:06 (GMT) |
commit | 50ad6db629ecd268192023ad97577c51c9b19c32 (patch) | |
tree | 19aaf0633a3a02c6f52dc599c0ee2534dba3f897 /examples/statemachine | |
parent | aaa46755dcc15b8baaa0d1b928828eb60e0babbc (diff) | |
download | Qt-50ad6db629ecd268192023ad97577c51c9b19c32.zip Qt-50ad6db629ecd268192023ad97577c51c9b19c32.tar.gz Qt-50ad6db629ecd268192023ad97577c51c9b19c32.tar.bz2 |
Fix potential race condition in data structure of adopted thread watcher
Fix potential race condition in data structure of adopted thread watcher
in Windows. Since QVector is not thread safe, it is not safe to read and
append data to qt_adopted_thread_handles or qt_adopted_qthread
simultaneously in qthread_win.cpp. This patch fix this race condition.
Change-Id: I2d0c7a4cdde5390d38d15c98343f0fc6ddd24aba
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
(cherry picked from commit 4b30882a3f74914156f165a0a062b54ad3686c45)
Diffstat (limited to 'examples/statemachine')
0 files changed, 0 insertions, 0 deletions