aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/bits/linux.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-04-30 17:11:03 +0200
committerLemonBoy <thatlemon@gmail.com>2021-04-30 17:11:03 +0200
commit807bb7c03fc98e3792ece7e0573e226727c18129 (patch)
tree91563f5b460b932576cc754feb51ad4fa5147bc8 /lib/std/os/bits/linux.zig
parent55c58f226d06d3708a82878a67f3800e0ce5810b (diff)
downloadzig-807bb7c03fc98e3792ece7e0573e226727c18129.tar.gz
zig-807bb7c03fc98e3792ece7e0573e226727c18129.zip
std: Improve spinloop hint
* Add a yield pattern for PowerPC64 * Fix compile error on pre-v6 ARM targets * Use isb instead of yield on AArch64 to give the CPU a chance to enter low-power states. * Make the hint an inline function, the call overhead can be avoided.
Diffstat (limited to 'lib/std/os/bits/linux.zig')
0 files changed, 0 insertions, 0 deletions