diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-09-28 12:03:17 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-27 16:33:24 +0200 |
commit | d2aaa13820e400de73e3b0a12af6b7b7c6393d32 (patch) | |
tree | 92f26b62d17198d885b97011f91511427fa47f25 /src/corelib/kernel/qeventdispatcher_glib.cpp | |
parent | ba90d5cc8b1d65d28edf127b3ef3b589bdea0f99 (diff) |
Use load() instead of implicit cast when using QueuedConnection
queued_activate() sets the argumentTypes atomic pointer on first use, which
mixes a load, memory initialization, test-and-set-ordered, and
another load. The explicit memory ordering is necessary to ensure
that the memory stores happen in program order.
Change-Id: Id1f8641f9cd081ce81aa8e830692f7af8261e84b
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_glib.cpp')
0 files changed, 0 insertions, 0 deletions