mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: signal forwarding for darwin/amd64
Follows the linux signal forwarding semantics from http://golang.org/cl/8712, sharing the implementation of sigfwdgo. Forwarding for 386, arm, and arm64 will follow. Change-Id: I6bf30d563d19da39b6aec6900c7fe12d82ed4f62 Reviewed-on: https://go-review.googlesource.com/9302 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
c20ff36fe2
commit
a5b693b431
10 changed files with 106 additions and 76 deletions
|
|
@ -15,6 +15,11 @@ func sigaction(sig int32, new, old *sigactiont)
|
|||
//go:noescape
|
||||
func sigaltstack(new, old *sigaltstackt)
|
||||
|
||||
//go:noescape
|
||||
func sigfwd(fn uintptr, sig uint32, info *siginfo, ctx unsafe.Pointer) {
|
||||
throw("sigfwd not implemented")
|
||||
}
|
||||
|
||||
//go:noescape
|
||||
func sigprocmask(mode int32, new, old *sigset)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue