aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime1.goc
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/runtime1.goc')
-rw-r--r--libgo/runtime/runtime1.goc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgo/runtime/runtime1.goc b/libgo/runtime/runtime1.goc
new file mode 100644
index 00000000000..4cd98041717
--- /dev/null
+++ b/libgo/runtime/runtime1.goc
@@ -0,0 +1,10 @@
+// Copyright 2010 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package runtime
+#include "runtime.h"
+
+func GOMAXPROCS(n int32) (ret int32) {
+ ret = runtime_gomaxprocsfunc(n);
+}