• Russ Cox's avatar
    runtime: fix init scheduling bug. · 052a66ba
    Russ Cox authored
    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
    052a66ba
initsyscall.go 539 Bytes