runtime: fix init scheduling bug.
if there is a goroutine waiting to run and the init goroutine enters a system call, entersyscall was trying to kick off a new scheduler for the other goroutine, causing a panic (new goroutines can't run until main.main). R=r DELTA=32 (32 added, 0 deleted, 0 changed) OCL=31982 CL=31982
Showing
test/initsyscall.go
0 → 100644
Please
register
or
sign in
to comment