summaryrefslogtreecommitdiffstats
path: root/header.GPL
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2020-09-17 16:41:45 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2020-09-18 17:07:19 +0300
commitc6d1e7ad389a6db61a33016347772f885bf5e7d9 (patch)
tree7b9260746fb7767b94cee2b76af50b6481bd32db /header.GPL
parent8716413afcb4718352a93d90adb6f38491ad236e (diff)
QWinEventNotifier: reinterpret 'int signaledCount' as a 'bool signaled'
In fact, this variable can take only two values: 0 and 1. By interpreting its value as boolean, we can use relaxed store operations instead of atomic increments. This is safe, because it's guarded by 'activateEventNotifiersPosted' variable, which already provides a release/acquire semantic. Change-Id: If9adb7d022f1500ee7e8b61f336d8732f9b88d4c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'header.GPL')
0 files changed, 0 insertions, 0 deletions