]> Cypherpunks repositories - gostls13.git/commit
runtime: add pipe/pipe2 on Solaris
authorIan Lance Taylor <iant@golang.org>
Fri, 8 Nov 2019 05:04:53 +0000 (21:04 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 8 Nov 2019 19:28:57 +0000 (19:28 +0000)
commit904e1136c226b2b6ca31969acbf90ae44ecf8dc0
treeb4c26af81684e45ba835ca645632bc203fd225ad
parentf6ff806e48ca48f080d1534e2c8ef4db84abdb7e
runtime: add pipe/pipe2 on Solaris

This adds pipe/pipe2 on Solaris as they exist on other Unix systems.
They were not added previously because Solaris does not need them
for netpollBreak. They are added now in preparation for using pipes
in TestSignalM.

Updates #35276

Change-Id: I53dfdf077430153155f0a79715af98b0972a841c
Reviewed-on: https://go-review.googlesource.com/c/go/+/206077
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 files changed:
src/runtime/defs1_solaris_amd64.go
src/runtime/defs_solaris.go
src/runtime/export_solaris_test.go [moved from src/runtime/export_nbpipe_test.go with 50% similarity]
src/runtime/export_unix_test.go
src/runtime/nbpipe_fcntl_libc_test.go [moved from src/runtime/nbpipe_fcntl_aix_test.go with 76% similarity]
src/runtime/nbpipe_pipe2.go
src/runtime/nbpipe_test.go
src/runtime/os3_solaris.go
src/runtime/os_freebsd.go
src/runtime/os_linux.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go
src/runtime/os_solaris.go
src/runtime/syscall_solaris.go