summaryrefslogtreecommitdiffstats
path: root/examples/widgets/draganddrop/dropsite
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2023-10-13 13:41:16 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2023-10-18 17:02:25 +0200
commit66ee534fba6c42e03677bc6d7666eb64aec1e182 (patch)
treeaa515bc996638921f5c269b2da608fe108954054 /examples/widgets/draganddrop/dropsite
parentb8790ce4295021fc8d078db40997806b1f051168 (diff)
SignalDumper: fix UB (data race on ignoreLevel)6.5
... by making it thread_local. It is written and read by multiple threads at the same time, so it needs to be protected. Since signal emission start and end happens in a single thread, keep it thread_local rather than using an atomic. Change-Id: I98fc5438c512b45f936318be31a6fccbe5b66944 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 744e9a69ab4965561529f66d8872b6c2455f4fca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 73cae2903bb009db17bdf0d4d5ba7685f7974761) Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/widgets/draganddrop/dropsite')
0 files changed, 0 insertions, 0 deletions