Skip to content

Commit 1244346

Browse files
authored
Merge cd7abc9 into 3caaadd
2 parents 3caaadd + cd7abc9 commit 1244346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/proc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var modinfo string
6262
// thread finds work it takes itself out of the spinning state and proceeds to
6363
// execution. If it does not find work it takes itself out of the spinning state
6464
// and then parks.
65-
// If there is at least one spinning thread (sched.nmspinning>1), we don't unpark
65+
// If there is at least one spinning thread (sched.nmspinning>=1), we don't unpark
6666
// new threads when readying goroutines. To compensate for that, if the last spinning
6767
// thread finds work and stops spinning, it must unpark a new spinning thread.
6868
// This approach smooths out unjustified spikes of thread unparking,
@@ -2960,7 +2960,7 @@ func goexit1() {
29602960
mcall(goexit0)
29612961
}
29622962

2963-
// goexit continuation on g0.
2963+
// goexit0 continuation on g0.
29642964
func goexit0(gp *g) {
29652965
_g_ := getg()
29662966

0 commit comments

Comments
 (0)