]> Cypherpunks repositories - gostls13.git/commit
os: split wait6 syscall wrapper into per-platform files
authorBryan C. Mills <bcmills@google.com>
Wed, 12 Oct 2022 18:57:47 +0000 (14:57 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 13 Oct 2022 21:25:45 +0000 (21:25 +0000)
commit7feb68728dda2f9d86c0a1158307212f5a4297ce
tree9cee49f4f5bb3710b94c3a4a8319d58de3338c3c
parentc79b2009ef0b82e9c50ced139b2fd752018da0dd
os: split wait6 syscall wrapper into per-platform files

There are getting to be enough special cases in this wrapper that
the increase in clarity from having a single file is starting to be
outweighed by the complexity from chained conditionals.

Updates #50138.
Updates #13987.

Change-Id: If4f1be19c0344e249aa6092507c28363ca6c8438
Reviewed-on: https://go-review.googlesource.com/c/go/+/442575
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/wait6_dragonfly.go [new file with mode: 0644]
src/os/wait6_freebsd64.go [new file with mode: 0644]
src/os/wait6_freebsd_386.go [new file with mode: 0644]
src/os/wait6_freebsd_arm.go [new file with mode: 0644]
src/os/wait6_netbsd.go [new file with mode: 0644]
src/os/wait_wait6.go