aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-08-19 11:49:59 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-19 11:49:59 +0400
commit5d40742728cac9fa351c03d21598937b27b398a7 (patch)
tree1d585ce37900e3dd61dcccad8e33493ecb8190cb /src/pkg/runtime/stack.c
parent53056c37c2e3720666742f516ef148432313e28a (diff)
downloadgo-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.c2
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