File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ var modinfo string
62
62
// thread finds work it takes itself out of the spinning state and proceeds to
63
63
// execution. If it does not find work it takes itself out of the spinning state
64
64
// 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
66
66
// new threads when readying goroutines. To compensate for that, if the last spinning
67
67
// thread finds work and stops spinning, it must unpark a new spinning thread.
68
68
// This approach smooths out unjustified spikes of thread unparking,
@@ -2960,7 +2960,7 @@ func goexit1() {
2960
2960
mcall (goexit0 )
2961
2961
}
2962
2962
2963
- // goexit continuation on g0.
2963
+ // goexit0 continuation on g0.
2964
2964
func goexit0 (gp * g ) {
2965
2965
_g_ := getg ()
2966
2966
You can’t perform that action at this time.
0 commit comments