aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-02-14 15:17:16 -0800
committerThiago Macieira <thiago.macieira@intel.com>2017-03-06 21:27:05 +0000
commitfb0490dd653e4856a3595bd7e49c3127215170d1 (patch)
treef29b7d98f74f9cb461cf76f8d23b37dd20c9524e /src/particles
parent13335bdee5482ae04d5b0d4c933ca328a1100cb6 (diff)
QThreadData::threadId is now QAtomicPointer, so relax loads from Acquire
operator T() does loadAcquire, to match std::atomic behavior. We don't need that, so let's use a relaxed load. Side note: why does QtQml need to access the thread ID this way? Couldn't it do object->thread()? This code comes from a pre-5.0 commit 5570040771ec610583473e2d9e8e069474364cf1 ("Permit signals to be emitted in a different thread"). Change-Id: I4139d5f93dcb4b429ae9fffd14a34a84d3255a6f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/particles')
0 files changed, 0 insertions, 0 deletions