]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: use pipe2 for nonblockingPipe on dragonfly
authorTobias Klauser <tklauser@distanz.ch>
Wed, 24 Feb 2021 08:43:59 +0000 (09:43 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Thu, 25 Feb 2021 18:43:17 +0000 (18:43 +0000)
commitee2a45e5fbee473b81c8ab81da8d83699d64e01f
tree8b71a65ef42273ebd09dfa7b5293dfa95252c523
parent1f7a01459b1172fdc571a81ffd369dbf32b6c8b2
runtime: use pipe2 for nonblockingPipe on dragonfly

The pipe2 syscall is available since DragonflyBSD 4.2, see
https://www.dragonflybsd.org/release42/

Change-Id: Ifc67c4935cc59bae29be459167e2fa765843ac03
Reviewed-on: https://go-review.googlesource.com/c/go/+/295471
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/defs_dragonfly.go
src/runtime/defs_dragonfly_amd64.go
src/runtime/export_pipe2_test.go
src/runtime/export_pipe_test.go
src/runtime/nbpipe_pipe.go
src/runtime/nbpipe_pipe2.go
src/runtime/os_dragonfly.go
src/runtime/sys_dragonfly_amd64.s