mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
os/signal: not on windows
R=golang-dev CC=golang-dev https://golang.org/cl/5500061
This commit is contained in:
parent
0fcb24b91c
commit
8feab4d5f7
2 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build darwin freebsd linux netbsd openbsd windows
|
// +build darwin freebsd linux netbsd openbsd
|
||||||
|
|
||||||
// Package signal implements operating system-independent signal handling.
|
// Package signal implements operating system-independent signal handling.
|
||||||
package signal
|
package signal
|
||||||
|
|
@ -33,3 +33,5 @@ func init() {
|
||||||
Incoming = ch
|
Incoming = ch
|
||||||
go process(ch)
|
go process(ch)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BUG(rsc): This package is unavailable on Plan 9 and Windows.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build darwin freebsd linux netbsd openbsd windows
|
// +build darwin freebsd linux netbsd openbsd
|
||||||
|
|
||||||
package signal
|
package signal
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue