From eb48bfbbdaf3a99dbb861f251a73a3b6ae45cc8b Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 6 May 2010 11:50:47 -0700 Subject: runtime.GOMAXPROCS: hack it to have it return the old value. R=rsc CC=golang-dev https://golang.org/cl/1140041 --- src/pkg/runtime/runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pkg/runtime/runtime.h') 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*); -- cgit v1.3