mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.cc] runtime: convert signal handlers from C to Go
This code overused macros and could not be converted automatically. Instead a new sigctxt type had to be defined for each os/arch combination, with a common (implicit) interface used by the arch-specific signal handler code. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r CC=austin, dvyukov, golang-codereviews, iant, khr https://golang.org/cl/168500044
This commit is contained in:
parent
9f99d531a0
commit
2d917c0c26
27 changed files with 882 additions and 829 deletions
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
package runtime
|
||||
|
||||
func sigpipe()
|
||||
|
||||
func os_sigpipe() {
|
||||
onM(sigpipe)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue