Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
8feab4d5
Commit
8feab4d5
authored
Dec 21, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os/signal: not on windows
R=golang-dev CC=golang-dev
https://golang.org/cl/5500061
parent
0fcb24b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
signal.go
src/pkg/os/signal/signal.go
+3
-1
signal_test.go
src/pkg/os/signal/signal_test.go
+1
-1
No files found.
src/pkg/os/signal/signal.go
View file @
8feab4d5
...
...
@@ -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.
src/pkg/os/signal/signal_test.go
View file @
8feab4d5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment