summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfsfileengine_win.cpp
diff options
context:
space:
mode:
authorjian liang <jianliang79@gmail.com>2012-02-19 22:09:44 +0800
committerQt by Nokia <qt-info@nokia.com>2012-02-22 00:07:31 +0100
commit4b30882a3f74914156f165a0a062b54ad3686c45 (patch)
treefc2781d8e58d58c7700d28d4bc75764311ddef34 /src/corelib/io/qfsfileengine_win.cpp
parent28401bf747d8ca81c9fe3179e8e59f779828a4a3 (diff)
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>
Diffstat (limited to 'src/corelib/io/qfsfileengine_win.cpp')
0 files changed, 0 insertions, 0 deletions