diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-04-10 19:49:41 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-04-17 06:36:03 +0000 |
commit | 6ce4c7d002b6b0ba77416c3b924acdcc4414c0da (patch) | |
tree | f5a230b60ee988f9164e55302a02aa851d0cac63 /src/corelib/kernel/qproperty.cpp | |
parent | fd550c943ff5f5c744afee5125956e924dd9e027 (diff) |
QEventDispatcherWin32: relax memory ordering on setting wakeUps flag
There is no need in 'acquire' operation for the next reasons:
- wakeUps is simply used as an atomic boolean that does not require
ordering with other loads or stores;
- any of testAndSet...() always gets a latest version of wakeUps.
Change-Id: Ica38fc62bc181166995946dee9d6887c71d87cec
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qproperty.cpp')
0 files changed, 0 insertions, 0 deletions