]> Cypherpunks repositories - gostls13.git/commit
runtime: remove sigmask type, use sigset instead
authorIan Lance Taylor <iant@golang.org>
Tue, 27 Sep 2016 20:42:28 +0000 (13:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 27 Sep 2016 21:33:44 +0000 (21:33 +0000)
commitfdc167164ecde259bd356cc8e7ae5ccb0903469c
tree0b4eee66e1530b4f35966e30ac1ee0a0b29e5148
parente13df02e5fbf2c0cd8811b826a8c8567efa882dd
runtime: remove sigmask type, use sigset instead

The OS-independent sigmask type was not pulling its weight. Replace it
with the OS-dependent sigset type. This requires adding an OS-specific
sigaddset function, but permits removing the OS-specific sigmaskToSigset
function.

Change-Id: I43307b512b0264ec291baadaea902f05ce212305
Reviewed-on: https://go-review.googlesource.com/29950
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/os3_solaris.go
src/runtime/os_darwin.go
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_linux_generic.go
src/runtime/os_linux_mips64x.go
src/runtime/os_linux_s390x.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go
src/runtime/signal_unix.go