summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorTomasz Duda <tomaszduda23@gmail.com>2012-11-17 18:45:21 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-18 12:21:18 (GMT)
commite7e149df694041562689ec3baa2a05cefa7e5ea4 (patch)
tree7250453fb8dd2547154b5c574578ed72a708cd1e /src/network
parentc9424fa6687b5d83227c8c07df1e3806b8f487b5 (diff)
downloadQt-e7e149df694041562689ec3baa2a05cefa7e5ea4.zip
Qt-e7e149df694041562689ec3baa2a05cefa7e5ea4.tar.gz
Qt-e7e149df694041562689ec3baa2a05cefa7e5ea4.tar.bz2
Make the qatomic classes work in ARMv5 OABI.
The function testAndSetOrdered is not atomic. The context of a thread may be interrupted inside testAndSetOrdered and then if another thread calls fetchAndStoreOrdered, _q_value may be overwritten. After that _q_value will contain random value depending on where testAndSetOrdered was interrupted. It should not be possible for the atomic classes. Since the commit 8a7b5aca7b6575013a4e4ee9b99808d25edf6fdf introduced new implementation of QMutex for linux the bug causes deadlock. Change-Id: Ib9ffcf0e26d3be36a0e158fd12a363b97177dcbf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions