From 40c26fff1490f68cbb2d6a7942443df567e9bab4 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 30 Sep 2011 10:52:36 -0700 Subject: [PATCH] runtime: fix darwin build Add place holder for runtime.osyield. R=golang-dev CC=golang-dev https://golang.org/cl/5149049 --- src/pkg/runtime/darwin/thread.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pkg/runtime/darwin/thread.c b/src/pkg/runtime/darwin/thread.c index c5d8ba4d3e..b35dae02fe 100644 --- a/src/pkg/runtime/darwin/thread.c +++ b/src/pkg/runtime/darwin/thread.c @@ -496,3 +496,9 @@ runtime·sigpanic(void) } runtime·panicstring(runtime·sigtab[g->sig].name); } + +// TODO(rsc): place holder to fix build. +void +runtime·osyield(void) +{ +} -- 2.50.0