mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: cleanup after conversion to Go
Change-Id: I7c41cc6a5ab9fb3b0cc3812cf7e9776884658778 Reviewed-on: https://go-review.googlesource.com/4671 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
01ef6dbfa5
commit
8090f868fc
4 changed files with 13 additions and 22 deletions
|
|
@ -32,7 +32,9 @@ func main() {
|
|||
maxstacksize = 250000000
|
||||
}
|
||||
|
||||
systemstack(newsysmon)
|
||||
systemstack(func() {
|
||||
newm(sysmon, nil)
|
||||
})
|
||||
|
||||
// Lock the main goroutine onto this, the main OS thread,
|
||||
// during initialization. Most programs won't care, but a few
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue