diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-26 07:24:18 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-08 18:52:55 +0000 |
commit | 1c6828b9d61a5988e91e67342cc0f616fa87949e (patch) | |
tree | ab9074011f7d4b97166ad2f293fba90263e7f798 /src/corelib/codecs | |
parent | fc95af3621c8d135d613e1fff82c0613bf281c87 (diff) |
QFreeList: fix memory order on block deletion
Blocks are likely to have been created in a differnt thread from the one
performing their deletion, so we need an acquire fence.
The rest of the atomics use in the class looks ok, but nevertheless warrants
a deeper analysis.
Change-Id: I1571ded3a06695b0d58b5bf1d80d6283ac21f959
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 6fa34930c23c7494a3f2703777f46794ff091e2b)
(cherry picked from commit 51bcc7e07e2bb5b42bb200dcd5269e9e9e2fe240)
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/codecs')
0 files changed, 0 insertions, 0 deletions