mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
f64b50fbea64174967a8882830d621a18ee1548e
Pause is a legacy syscall not available on linux-arm64. Use ppoll with all args as 0 to emulate - this is the way musl libc does Pause when the pause syscall isn't available. With the changes in syscall_linux* and regenerating zsyscall_linux*, this calling Pause on linux-arm64 works and returns EINTR as expected. Change-Id: I88236290313f18c742d826e759e86ff260a8b383 Reviewed-on: https://go-review.googlesource.com/22014 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%