diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2022-04-28 08:41:16 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-04-29 22:43:15 +0200 |
| commit | 23e580f1b4a0a5eb47fcd5aefcdb12ae2a8aad5f (patch) | |
| tree | af9813533dfccbb0e725342b091b5ddd3f4e6077 /src/corelib/thread/qfutureinterface.cpp | |
| parent | 2efd5ad7af0e6aac0139a96ca1959fe8394ca13b (diff) | |
Long live qYieldCpu()!
This is a small wrapper around PAUSE (x86) (and, eventually, YIELD
(ARM) and whatever MIPS and Sparc have for this purpose) instructions
to improve the performance of tight CAS loops.
Pick-to: 6.3
Change-Id: I51e58484c7f02fdbdc491fd1f4a2e9a34f7c2cd0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qfutureinterface.cpp')
0 files changed, 0 insertions, 0 deletions
