mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: unify Unix implementations of unminit
Change-Id: I2cbb13eb85876ad05a52cbd498a9b86e7a28899c Reviewed-on: https://go-review.googlesource.com/29772 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6bcd258095
commit
e2e11f02a4
8 changed files with 16 additions and 21 deletions
|
|
@ -244,9 +244,7 @@ func minit() {
|
|||
// Called from dropm to undo the effect of an minit.
|
||||
//go:nosplit
|
||||
func unminit() {
|
||||
if getg().m.newSigstack {
|
||||
signalstack(nil)
|
||||
}
|
||||
unminitSignals()
|
||||
}
|
||||
|
||||
func memlimit() uintptr {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue