diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-19 11:49:59 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-19 11:49:59 +0400 |
| commit | 5d40742728cac9fa351c03d21598937b27b398a7 (patch) | |
| tree | 1d585ce37900e3dd61dcccad8e33493ecb8190cb /src/pkg/runtime/stack.c | |
| parent | 53056c37c2e3720666742f516ef148432313e28a (diff) | |
| download | go-5d40742728cac9fa351c03d21598937b27b398a7.tar.xz | |
runtime: convert Gosched to Go
LGTM=rlh, khr
R=golang-codereviews, rlh, bradfitz, khr
CC=golang-codereviews, rsc
https://golang.org/cl/127490043
Diffstat (limited to 'src/pkg/runtime/stack.c')
| -rw-r--r-- | src/pkg/runtime/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/stack.c b/src/pkg/runtime/stack.c index 3bd96ff314..f7d41f44d4 100644 --- a/src/pkg/runtime/stack.c +++ b/src/pkg/runtime/stack.c @@ -903,7 +903,7 @@ runtime·newstack(void) } // Act like goroutine called runtime.Gosched. gp->status = oldstatus; - runtime·gosched0(gp); // never return + runtime·gosched_m(gp); // never return } // If every frame on the top segment is copyable, allocate a bigger segment |
