run init in a goroutine

This commit is contained in:
Jaden Weiss
2020-02-07 19:20:36 -05:00
committed by Ayke
parent 5d869f6042
commit 0759b70c50
7 changed files with 21 additions and 7 deletions
+1
View File
@@ -16,6 +16,7 @@ func getSystemStackPointer() uintptr {
// run is called by the program entry point to execute the go program.
// With the "none" scheduler, init and the main function are invoked directly.
func run() {
initHeap()
initAll()
postinit()
callMain()