aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-05-06 11:50:47 -0700
committerRob Pike <r@golang.org>2010-05-06 11:50:47 -0700
commiteb48bfbbdaf3a99dbb861f251a73a3b6ae45cc8b (patch)
tree8cb9b76a517a019f77bc2f00c2a7b2c59bf7c9c5 /src/pkg/runtime/runtime.h
parent9088f9f245e432f9f87ae8cfe46b9d36dbcf1a2e (diff)
downloadgo-eb48bfbbdaf3a99dbb861f251a73a3b6ae45cc8b.tar.xz
runtime.GOMAXPROCS: hack it to have it return the old value.
R=rsc CC=golang-dev https://golang.org/cl/1140041
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 4c9f52e85c..9c08796ed3 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -569,6 +569,7 @@ float64 modf(float64 d, float64 *ip);
void semacquire(uint32*);
void semrelease(uint32*);
String signame(int32 sig);
+int32 gomaxprocsfunc(int32 n);
void mapassign(Hmap*, byte*, byte*);