From 8feab4d5f7713dba73ce4b6bfe96f062e2e88831 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 21 Dec 2011 08:20:25 -0500 Subject: [PATCH] os/signal: not on windows R=golang-dev CC=golang-dev https://golang.org/cl/5500061 --- src/pkg/os/signal/signal.go | 4 +++- src/pkg/os/signal/signal_test.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pkg/os/signal/signal.go b/src/pkg/os/signal/signal.go index bbf9d17289..bce4530e7b 100644 --- a/src/pkg/os/signal/signal.go +++ b/src/pkg/os/signal/signal.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // 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 @@ -33,3 +33,5 @@ func init() { Incoming = ch go process(ch) } + +// BUG(rsc): This package is unavailable on Plan 9 and Windows. diff --git a/src/pkg/os/signal/signal_test.go b/src/pkg/os/signal/signal_test.go index 8445a78460..4568aa9518 100644 --- a/src/pkg/os/signal/signal_test.go +++ b/src/pkg/os/signal/signal_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin freebsd linux netbsd openbsd windows +// +build darwin freebsd linux netbsd openbsd package signal