1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:31:22 -06:00
go/src/pkg
Russ Cox 35586f718c os/signal: selective signal handling
Restore package os/signal, with new API:
Notify replaces Incoming, allowing clients
to ask for certain signals only.  Also, signals
go to everyone who asks, not just one client.

This could plausibly move into package os now
that there are no magic side effects as a result
of the import.

Update runtime for new API: move common Unix
signal handling code into signal_unix.c.
(It's so easy to do this now that we don't have
to edit Makefiles!)

Tested on darwin,linux 386,amd64.

Fixes #1266.

R=r, dsymonds, bradfitz, iant, borman
CC=golang-dev
https://golang.org/cl/3749041
2012-02-13 13:52:37 -05:00
..
archive compress: make flate, gzip and zlib's NewWriterXxx functions all return 2012-02-10 18:49:19 +11:00
bufio bufio: drop error return for NewReaderSize and NewWriterSize 2012-02-08 13:07:13 +11:00
builtin builtin: document delete 2011-11-09 10:49:41 -08:00
bytes bytes.Buffer: return error in WriteTo if buffer is not drained 2012-02-09 08:58:40 +11:00
compress flate: delete WrongValueError type. 2012-02-11 12:09:11 +11:00
container container/heap: add example 2012-02-10 10:07:55 +11:00
crypto crypto/...: more fixes for bug 2841 2012-02-13 12:38:45 -05:00
database/sql database/sql: remove Into from ScannerInto/ScanInto 2012-02-10 10:20:49 +11:00
debug debug/macho: dropped monstrous URL from package comment 2012-02-10 16:03:24 +11:00
encoding runtime: delete Type and implementations (use reflect instead) 2012-02-12 23:26:20 -05:00
errors build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
exp os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
expvar doc: remove overuse of simply 2012-02-06 13:34:35 -05:00
flag flag: describe valid input for Duration flags. 2012-02-07 17:50:04 +11:00
fmt fmt: scan FALSE correctly 2012-02-09 14:12:55 +11:00
go go/printer: test that formatted code is parseable 2012-02-10 13:28:29 -08:00
hash build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
html html/template: Added more explicit wording about examples and documentation. 2012-02-12 12:18:00 +11:00
image fix build: update image/png test 2012-02-10 17:26:40 -08:00
index/suffixarray build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
io io/ioutil: document EOF behavior in ReadFile and ReadAll 2012-02-08 11:40:56 +11:00
log log/syslog: fix documentation for NewLogger 2012-02-09 14:40:56 +11:00
math math: fix gamma doc, link to OEIS 2012-02-10 15:56:51 +11:00
mime build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
net os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
old all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00
os os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
path path/filepath: repair and simplify the symlink test 2012-02-07 11:00:13 +11:00
reflect runtime: delete Type and implementations (use reflect instead) 2012-02-12 23:26:20 -05:00
regexp regexp/syntax: delete old package comment 2012-02-10 01:11:56 -05:00
runtime os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
sort build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
strconv strconv: disable issue 2917 test 2012-02-13 00:19:18 -05:00
strings strings: more examples 2012-02-13 14:05:57 +11:00
sync sync/atomic: disable hammer pointer tests on wrong size system 2012-02-12 21:53:33 -08:00
syscall os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
testing testing: use runtime/debug to format panics 2012-02-12 23:41:07 -05:00
text text/template/parse: deep Copy method for nodes 2012-02-11 14:21:16 +11:00
time time: improve commentary about standard time and formatting/parsing 2012-02-10 13:52:19 +11:00
unicode unicode: various documentation tweaks 2012-02-10 14:30:44 +11:00
unsafe runtime: delete Type and implementations (use reflect instead) 2012-02-12 23:26:20 -05:00