• Riku Voipio's avatar
    unix: fix Pause on linux-arm64 · f64b50fb
    Riku Voipio authored
    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/22014Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    f64b50fb
Name
Last commit
Last update
plan9 Loading commit data...
unix Loading commit data...
windows Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...