aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2012-07-01 13:10:01 +0400
committerDmitriy Vyukov <dvyukov@google.com>2012-07-01 13:10:01 +0400
commited516df4e43c5e3467bd6a39ffc9277157574788 (patch)
tree01cd034c47752cc2144a0f26c59a017eab986b54 /src/pkg/runtime/runtime.h
parent35030a996672b3678397f69c1168c4c125393ab2 (diff)
downloadgo-ed516df4e43c5e3467bd6a39ffc9277157574788.tar.xz
runtime: add freemcache() function
It will be required for scheduler that maintains GOMAXPROCS MCache's. R=golang-dev, r CC=golang-dev https://golang.org/cl/6350062
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 cdd71726e5..07c1585c77 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -590,6 +590,7 @@ int32 runtime·funcline(Func*, uintptr);
void* runtime·stackalloc(uint32);
void runtime·stackfree(void*, uintptr);
MCache* runtime·allocmcache(void);
+void runtime·freemcache(MCache*);
void runtime·mallocinit(void);
bool runtime·ifaceeq_c(Iface, Iface);
bool runtime·efaceeq_c(Eface, Eface);