diff options
Diffstat (limited to 'src/runtime/stack1.go')
| -rw-r--r-- | src/runtime/stack1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack1.go b/src/runtime/stack1.go index 513f27d143..dda39ce481 100644 --- a/src/runtime/stack1.go +++ b/src/runtime/stack1.go @@ -721,7 +721,7 @@ func newstack() { // Act like goroutine called runtime.Gosched. casgstatus(gp, _Gwaiting, _Grunning) - gosched_m(gp) // never return + gopreempt_m(gp) // never return } // Allocate a bigger segment and move the stack. |
