1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // This used to crash because the scheduler
8 // tried to kick off a new scheduling thread for f
9 // when time.Nanoseconds went into the system call.
10 // It's not okay to schedule new goroutines
11 // until main has started.